NoteController improvments

I would also extends the base FOSRestController, and leverage its helper methods (view creation etc).