Merge remote-tracking branch 'origin/runtime_import' into fix_zoom

* origin/runtime_import:
  Check if the file metadata exists before adding it to the database
  Fixed bug where opacity was not maintained between animation steps
  Fixed bad merge resolution
  Time fixes
  Fixed various issues with logic and style
  Initial work on run time import
  Relocated import script
  Reorganized import script to import on file basis
  keep start date around too for completeness
  record enough time info to compare datasets
  put array ranges over all time into database
Fixed zoom not behaving properly
Fixing tiles not covering the entire viewport at high zoom
Fixed tiles not covering the entire region

The problem was related to the fact was that we were using depth
from focal point, the z value of the camera, and not really the
depth of the tile for computing the display point from which we ultimately
compute the corner points in the world coordinate.
Tweaked compute zoom just a bit
Style fixes
Fixed run time error by adding missing variable separation
Some more styles fixes
Use a lower value for near plane
Merge remote-tracking branch 'origin/runtime_import' into fix_zoom

* origin/runtime_import:
  Fixed multiple import

Conflicts:
	modules/mongoimp.py
Initial work on map setting up the legends for layers
Fixed incorrect construction of parameters
Removed debug messages
Do not consider layers with no legend for legend placements
Merge remote-tracking branch 'origin/fix_zoom' into fix_legend

* origin/fix_zoom:
  Use a lower value for near plane
  Some more styles fixes
  Fixed run time error by adding missing variable separation
  Style fixes
  Tweaked compute zoom just a bit
  Fixed tiles not covering the entire region
  Fixing tiles not covering the entire viewport at high zoom
  Fixed zoom not behaving properly
Use orange color for legend text
Fixing various issues with animations
Use base class members
Fixed arrays not getting cleared up
Removed debug messages