Added DMIv4 version of gate.dmi
asset stuff in seperate js, fix meta calculation

Still need to do directions.
Rudimentaty animation support from global clock/modulus of
frame index
Refactor
Add support for directions
Merge branch 'render_from_map_data'