use getExternalFilesDir
disable setOrientation because it's not supported by CM
update to 3.12.13
Merge branch 'upstream'

Conflicts:
	res/values/styles.xml
	smali/com/android/gallery3d/app/AbstractGalleryActivity.smali
	smali/com/android/gallery3d/app/PhotoPage.smali