Bart refactor local store

- refactored `*.coffee` to `*.js`
- added remove localdata/cookie functionality
- added `domain` & `path` params for cookie setting
- added specs
Perhaps a comment here explaining why might be a good idea.