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