MPDApplication: Use a synchronized collection for connection locks.
CachedMPD: Don't try to get details for an empty album list.
MPD: Fix album list with either empty list or invalid list response.

We've been getting automated crash reports where the album key is not included
in a list response line, this is probably due to an empty list or possibly an
invalid server response line. During repair, I noticed we're doing a lot of
unnecessary work with regard to album listing, so this patch fixes that at the
same time.
MusicList: If songPos was not included in the plchanges, reload the playlist.

We've received a crash report showing that upon playlist changes response that
a songPos was not received with an entry. This is a protocol error. This patch
works around that behaviour for if it ever happens we'll simply reload the
entire playlist.
Remove the useless bonjour activity
Remove ListActivity. Not supported by support v7
Useless unboxing.
Support actionbar
Theme fixes
Design fixes. Need to do that for lollipop
Kind of fix settings. Will do for now.
Fix lollipop builds
Variosu theme fixes
Other theme fixes
Fix playlist edition
SimpleLibraryActivity: Refactor initialization and better debugging.

This changes the startActivityForResult to return a result so that
getCallingActivity() will work.

This fixes a bug where if a user had the popup open then another client cleared
the playlist (or the playlist cleared due to consume), THEN the button was hit
with a null current song, a crash would occur.
Tools: Add debug code for server response crashes.
gradle: Update for AS gradle plugin to 1.0.0.
dmix: Code style.
RemoteControlClientHandler: Test patch to attempt to avoid RCC recycle bug.

Yet another attempt to fix the RCC recycle bug. This patch changes the
behaviour to always completely reset the remote control client when adding
artwork. This patch might not work, but it certainly couldn't make things
worse. This will either get improved upon later or reverted.