Move tests into there own file!
Tidying up

Connection code moved out of Earl.
Plugin spawning code moved into Earl and out of parser.
fixed up run.sh.