added getBoolean and putBoolean to SettingsProvider
moved getBoolean and putBoolean to correct class
Added 180 degrees Rotation as Option(1/2)
frameworks/base: Fix aliasing violations

Fix violations of strict aliasing rules

Change-Id: Ia83db6a0be18f52e8f274c581c3b42f031b39247
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Signed-off-by: Paul Beeler <sparksco@gmail.com>