Several small improvements

- beforeRouteChange event
- refactored generic bootstrap
- i18n