switch to grunt based build system

TODO:
----------

[ ] some hacks need to be resolved
[ ] tests need to work again
[ ] headless tests for travis