NF: add pip and easy install testing

Some refactoring of the pre_cmds also to make them more flexible.
Merge pull request #5 from matthew-brett/pip-easy-install-testing

NF: add pip and easy install testing

Some refactoring of the pre_cmds also to make them more flexible.