Add GPS tags and timestamp to Exif when photo is saved

Patchset 2: Fix formatting
            Sync exif code of PhotoModule and PanoramaModule

Change-Id: I8b6f77687f01c537a2a3d5bb2b2d8b4ad21642c8
Gallery2: Fix filmstrip source index

Filmstrip has 1 item more (the camera itself). Do not count the Camera as an item

Change-Id: I2027d857c08477cb0303e74c15818be1fc979104
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Gallery2: Fix showOnMap method

If the context is ProxyLauncher, showOnMap will make crash the Gallery app if
GoogleMaps not exists, because the double call to startActivity.
Just query the intent before call the startActivity method.

Change-Id: I2e2637626d9f81780f48625bef52e861180e002c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Camera: fix gfx undefined buffer issue

clear the render target before drawing, fix the undefined buffer
mess up issue of preview layer

Change-Id: I093fc0bdaf292fed2bc7f1a6d2678a94f25c9d55
CRs-fixed: 503216 506709
Gallery2: Fix show on map typo

Change-Id: I80cc825d3adf17fde9d245a71a4756f35bcd232f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>