testing infra: updated Karma and Grunt
testing infra: basic QueryViewCtrl tests
rd_ui: fix failing unit test
update ci config
Merge pull request #251 from EverythingMe/tests

setup Karma unit tests