Made promise-dependent tests better. Wrote test initialisation functionality. Introduced Travis CI and post-build AppFog deployment.