handle malformed json

```json
{ "class_year": 93
```
みたいな文字列が流れてきた時に500ではなく400を返す

ref: http://robots.thoughtbot.com/catching-json-parse-errors-with-custom-middleware

solves #40