feat(viewService): Corrects showBack logic

- Corrects the logic used to determine showBack in the event broadcast
  of `$viewHistory.historyChange`
- Registers ion-nav-view with a `$historyId` in order to correctly
  detect back state when element instance is registered

This addresses #2366.