Added build configuration files

Changes:
Mostly copied build set-up from jQuery project with minor corrections
for mine. Testing is still not working and I have also not yet added
the library itself.
First commit of the library

Changes:
Very basic implementation copied mostly from RUFORUM project I am
working on that is bereft of any tests and also otherwise sub-optimal.
Added Vim swap files to gitignore
Remove old swap file
Configuration fixes: remove jQuery and add QUnit

Changes:
- remove jQuery ignore from JSHint rc file
- add QUnit configuration to packages.json and Gruntfile.js
Refactored old lib and added some tests

Changes:
- refactored lib from RUFORUM project into more sensible parts
- added few tests for core.js, but more needed