Fix connection dialogs and progress publishing

- Moved the isConnecting state to the service, which is a singleton
- Catch various IllegalStateExceptions and missing fragment manager situations,
  when the fragment wasn't able to publish the status.
- Dismiss connectiong dialog in onDestroy to avoid "activity has leaked ..."
  errors in the log.