specs no longer create extra files
Modified tests to fix breaks caused by changes in prod

We are having to pause between two clicks that are running javascript,
which is a little odd.

Had to add an ssl-protocol option to the phantomjs options.
bug fix
fix nil pem, add test, cleanup hardcoding
remove dead code
better passthrough of error messages, plus test
DRY up HTTP request/error handling