Camera2: Fix camera application memory leak

This change fix potential memory leak of camera application
when swith between camera and panorama:

 1. free allocated frames in jni/Mosaic
 2. use application context instead of acitivity context
 3. clear disappearing children of ViewGroup explicitly
 4. remove IdleHandler during camera exit

CRs-fixed: 622518
Change-Id: I2583709489ab2cf1fc20865fe7d2a8f56f2763c9
camera2: update to new 4.4 KitKat UI

thanks kroz

Change-Id: Ibac9681e53660bb727c2419f06b5b5509ebe169c
White panorama ui

white progress indicator
white recording shutter button

Change-Id: I8c2eddc6059ae19a2c98cf928b51bab4c05c9232
camera2: follow new 4.4 UI guidelines

powershot button was still ICS blue...changed to white

Change-Id: Ic4c813de047a5bd84ed1bb3b124fa2b7d0ca064d
Camera: add Smart capture

add back smart capture feature. Recoded and addapt to the
new aosp camera. This time each camera and video can set it
seperatly.

drawables by kbeezie

moved exposure into enhance menu.

Change-Id: I87a895c21c53d11cab573df4fd76f1628ca03b1a
TRDS: Darker Camera

black dialogs

Change-Id: If130343a91dc30d3cc3af082e6f5c43803588a30
TRDS: Make the popup menu transparent

Change-Id: I50e09aef5729a31e4d3baff804cc5566c21d5b98