Functional tests and functional tests automation

Included new push.js and pushtest.html with all the functional tests and jasmine automated tests.