Capture JSON.parse errors

https://github.com/strongloop/strong-remoting/issues/50
Merge pull request #51 from strongloop/feature/fix-issue-50

Capture JSON.parse errors