Fixed e2e tests (had to introduce some "wait for element visible" logic.
Updated pm2 config for e2e testing on dev machines (added a phantomjs config)