Quite a big refactoring

**What's new in this pull request**

* Introduced testing with jasmine and managed by grunt
* Introduced action-id mechanism to assign correctly user and shape
* Removed quite a few parts of Gruntfile.js, parts that we can reintegrate when necessary. This just to make sure that all existing code is also actually used and avoid code ghosts.