Annotation - improvements

* Postgis layers can be used
* Code generalization in the annotation controller
* Errors sent as html fragment instead of xml