AEROGEAR-517 Adding a catch all error route that returns JSON.
Merge branch 'AEROGEAR-517-duplicate-login-attempts' of github.com:danbev/TODO into danbev-AEROGEAR-517-duplicate-login-attempts