Moved generic cahce ops out of ls-client.js
Moved cahce inside cacheOp
LocalStorage clean-up plus bug-fixes.
Removed a typo
Merge pull request #151 from scrollback/localStorageChanges

Local storage cleanup & bug fixes.