Attempt to fix the max connection issue
- Do no connect MPD if it is already connected (may happen at app start when 2 views ask for a connection)
- Synchronize connect/disconnect in MPD
- Use only 3 connections (instead of 5) for commands
- Decrease the socket timeout on the status connection for it to be closed
  quicker
Add more extensions to pathPattern for intent.

pathPattern is case sensitive, so, include the all uppercase and
lowercase in file extensions; anything else will fail as it should.
Add gen to the PullToRefresh project classpath.
droid.widget.FrameLayout#onConfigurationChange minimum API level 8.
Remove dead code.

Remove unused functions, imports, variables and disable unused debug
functions.
java.util.Arrays#copyOf requires minimum API level 9.
android.graphics.drawable.Animatable requires minimum API level 4.
Merge pull request #397 from avuton/master

Lots of removals
avoid NPE in Music.getPath()
remove albumartist user option and make getAlbums return merged lists
Go to Album Artist in NowPlaying
add albumCache and cachedMPD
replace MPD by CachedMPD (without enabling it)
enable cache
notify user about cache update failure
return AlbumArtists too in search results
add option whether to use local album cache