fix small but fatal bug

This controller still needs reworking to use GrvitonRestBundle.
fixtures for /core/app

you can load these using php app/console doctrine:mongodb:fixtures:load