[1/2] base: quicksettings: allow flip animation on clicking a tile

ported from https://github.com/BeerGang/android_frameworks_base/commit/ba144b2defd209c2c020366316c65b288bf68880

Modifications by namelessrom:
allow to flip left or right, default flip right
whitespace cleanup

Change-Id: I79e0e44738ad1b32b5f30f2f1223e20711c9b3e4

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/PerformanceProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/ScreenTimeoutTile.java