dalek tests fixed, now phantomjs & chrome work
added deploy-mode to compile script
Merged 'dev'.