Session bug fixes, grunting

Bug fixes for session functionality
Removing node modules from repo
Adding grunt file
Refactoring jasmine tests to use cli