Ensure valid samples

Run JSHint in order to make sure that the ``.json`` sample files are valid JSON.
Travis config added to set up running tests on PR's (will need turning on, on Travis CI after merge).

Closes #3