Add code coverage support. Refactor and improve tests
Improve Grunt and Browserstack workflow