Location module with doctrine integration

- When there is a doctrine Adapter/Source for the datagrid it should be integrated instead of using a constant in the model.
- Frontend should use the location entity too.
I would put this in the parse method, since it parses JS in the template.