Added npm hooks and updated readme
Merge pull request #5 from lakmeer/npm-scripts

Added npm hooks and updated readme
Adding sinon.js framework for spies, stubs and mocks.
Added test for settings.js using sinon mocks for fs and path
Modified paths to show that the mock object methods are being used rather than the actual filesystem.
Added stub test files to generate coverage reports. Haven't got it checking sub-folders yet so I can't test files in the /client/ folder with the same folder structure, will need to look into that.
Updated readme.md
Merge resolve
'npm run test' not required - 'npm test' is an alias to this
New files passed for style and whitespace
Settings module passed for style
Merge pull request #6 from lakmeer/mocking_with_sinonjs

Looks good, just tidied up according to JS code style and some residual whitespace. Also changed the description of one of the settings module tests to be more agnostic about the internal working of the settings module.
Updated merge from master after accepting sinon PR