Improve API error management
Improve API error management

* Fix active record not found case
* Display backtrace in error logs

Flaburgan/diaspora,Flaburgan/diaspora,Flaburgan/diaspora,diaspora/diaspora,SuperTux88/diaspora,diaspora/diaspora,geraspora/diaspora,diaspora/diaspora,jhass/diaspora,SuperTux88/diaspora,SuperTux88/diaspora,jhass/diaspora,jhass/diaspora,jhass/diaspora,geraspora/diaspora,SuperTux88/diaspora,geraspora/diaspora,Flaburgan/diaspora,geraspora/diaspora,diaspora/diaspora