Several updates

Added initial tests
Updated grunt to 0.4.x
Properly hinted code