First cut of a mock server
Merge remote-tracking branch 'nik/actionbar' into actionbar
Merge remote-tracking branch 'nik/actionbar' into actionbar
Renamed the test project folder to the conventional tests
Stop tracking .classpath
NPE protect ConnectingDialog#onDismiss.

This could happen when Squeezer is closed (by pressing HOME), when connecting to
LMS.
First cut of a mock server
Renamed the test project folder to the conventional tests
Stop tracking .classpath
NPE protect ConnectingDialog#onDismiss.

This could happen when Squeezer is closed (by pressing HOME), when connecting to
LMS.
Fix crash on connection in NowPlayingActivity

There current SqueezerPlayerState was read from the service, and then the UI
was updated accordingly, which caused and NPE.
The problem is that the state is not yet known, when just connected.
Instead the UI is not updated on connection, we wait until it is brodcast by
the service.
Merge branch 'actionbar' of github.com:kaaholst/android-squeezer into actionbar
Make the UI more accurately reflect the player state
Fix broken tests
Signed-off-by: Kurt Aaholst <kaaholst@gmail.com>
Track whether callbacks have been registered

Register when the service is bound, and in onResume.
Unregister in onPause
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.
Missing deleted file from previous commit
Fix danish string
Fix crash initializing image cache on 4.1 emulator.
Apparently storage state is removed and removable is false!
This caused the external cache dir to be null.
Merged osebelin/actionbar
Signed-off-by: Kurt Aaholst <kaaholst@gmail.com>