improvements to dataset saving and rendering logic

Signed-off-by: Garet Claborn <garet@approachfoundation.org>
Update map.php
various more updates; removed many globals and cleaned up the architecture.

Signed-off-by: Garet Claborn <garet@approachfoundation.org>
Merge branch 'master' of https://github.com/Approach/Approach

Conflicts:
	project/map.php
more cleanup

Signed-off-by: Garet Claborn <garet@approachfoundation.org>
Merge branch 'master' of https://github.com/Approach/Approach

Signed-off-by: Garet Claborn <garet@approachfoundation.org>
Merge pull request #8 from Approach/master

Spring Cleaning