different improvement

- provide basePath in Slim templates and user interface
- objects can be mapped between backend and frontend
- easier saving of objects
- global error/success handler
- simulate success/error actions
- provide URLs/actions in backend with parameters. Parameters can be parsed with app.buildRoute
- edit/view toggle for entities