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
Automatic translation import

Change-Id: Ia44f2b32ee8f174c1a5c96b7b76115e707e2bf26
Automatic translation import

Change-Id: I71db9ceeaaae98f8694ebee177d9f1ecd477fe39
Automatic translation import

Change-Id: Ifeb5afea49d4dbc7c1f8081e70b2dcfc08cd9913
Automatic translation import

Change-Id: I138921744c866d189df164ccff99bbeeb02c7834
Underp translations

We should find a better method for these duplicate Camera2/CameraNext strings
right now it's a huge mess

Still left to fix: th,tr,uk,zh-rCN,zh-rHK,zh-rTW

Change-Id: I30be77176a6b38e2f2d3710df278ba4dab293aac
Merge pull request #54 from CyanogenMod/cm-11.0

merge from CM