browserifying src for tests in debug mode
tests for error handling
version bump
Merge pull request #4 from Financial-Times/error-handling

Better error handling