Try puting a jump lead between your negative battery terminal and a good clean bit metal on your engine. could just be a bad earth. although a vacum hose wouldn't cause to much probs from a small pipe far away from the manifold but if its a big leak it would cause the idle to be irratic. check the brake servo pipe and inlet manifold gasket but it sounds like an engine management problem to me.