Cleaned up server start/stop code in smoke test
Cleaned up server start/stop code in smoke test

jamesshore/ll13_phantomjs_smoke_test,jamesshore/lab5_casperjs,jamesshore/lab5_casperjs,jamesshore/ll13_phantomjs_smoke_test