update tab selection and failure site

- better tab selection by changes between properties and instance view
- switch to failure site without redirect
- use onRouteStartup event for tab and failure handling
bug fix

- repair the correct patient selection if a form needs a patient resource
- delete setAddress form