mint: has dual backlight too

This shouldn't be tsubasa-only - mint has the secondary
backlight too.  This has been causing vastly substandard
display brightness.

Change-Id: I5ddf71733bc55306aa346670905aa81741a3ab5d
blue: Allow control of light notification timing

This implements control of light notification timing.

While we have a number of possibilities not implemented here,
the implementation has been limited to reduce code complexity.

Pattern duration is set to 8 seconds, resulting in each bit
in the 32-bit pattern being 250 msec.

Pattern repeat delay is set to 0 pattern lengths, so the pattern
always runs.

The actual blink timing is then controlled by altering the pattern
bitmask.  Blinking with a duty cycle >50% is not permitted
currently.  Handling blink period is a bit hacky - this should be
the off time, but in this implementation is the blink period
(total off+on time).

A Settings overlay is used to create duration values more friendly
to this implementation.

Change-Id: I5fe04677fd42edbaf1a444cb58d485fd150f2a83
Allow alternate recovery

Include extract_elf_ramdisk to extract ramdisk from the FOTA
partition and check it to ensure that it is not a Sony FOTA
ramdisk. If it is a Sony FOTA ramdisk nothing changes, but if it
is not, then /sbin/ramdisk-recovery.cpio will be replaced by the
FOTA ramdisk allowing users to install an alternate recovery than
what is included in the boot image.

Change-Id: I6a570af905d15b0b4741ad04bc16f12fce00bb90
blue: Apply gamma curve to backlight

Currently the backlight brightness is a linear
function of the commanded brightness - but
human vision is not linear.  To compensate
for this we apply a gamma curve to the backlight
brightness.  This makes the perceived brightness
more linear in relation to the brightness settings.

TODO: Determine what effect this has on the
power profile estimates and if we care about
the innacuracies in screen power consumption
reporting...  power_profile estimates are
pretty unreliable as it is.

Change-Id: Ib14fe7752ae3617cb9da9c5ddb3e7f52b1db5e05
blue: fix gps conf

Change-Id: Ic2f214ce6682c482c0dcbcb0ea14e64499e77d94
Merge branch 'jellybean' of https://github.com/CyanogenMod/android_device_sony_blue-common into jb