[Editor] world saving

Added stub map to assets

To save the world, press 's' in editor mode

Closes #41

Also fixes two compilation errors

1) add implementation to GenericValue copy constructor
2) cast to long