refactoring: new plugin structure, added qunit via grunt and some tests