Creation of store.js type definition and test files
Finish code and tests.
Merge pull request #216 from vbortone/master

store.js Type Definitions