Merge pull request #76 from ismyrnow/master

Refactor uploadAllFiles to reduce complexity
Normalised tab indentation
Build
Merge pull request #77 from ismyrnow/master

Add contributing.md
Add ajax upload test, update sinon_server

- Mock server required an updated sinon_server version (1.11.1) and bower didn't have it.
- Also updated docs with test running instructions.
Add ajax fail test

- This test fails. The fix will be in a subsequent commit.
Add handling for failed ajax requests
Update readme with success and error handling