Fix up trailing white-space

And add a hook to get rid of it going forward.
Remove unreferenced main.js file
Actually add pre-commit hook.
Refactor jasmine part of spec tests
Refactored spec into a single page app.
Remove non-useful ALL_CAPS files within spec.
Added the foundation for chrome.fileSystem support.
Added more file system tests.
Removed an unnecessary `quality` picture option.
Removed an unnecessary file copy command.
Added chrome.fileSystem.getDisplayPath.

This implementation is basic and may need to change.
Also added a simple test.
Added chrome.fileSystem writable entry methods.

These are shell implementations; isWritableEntry returns false and getWritableEntry returns null.
Also added simple tests.
Merge branch 'file-system' of github.com:MobileChromeApps/chrome-cordova into file-system

Conflicts:
	spec/background.js