Moved game code to the dll.

Corrected an issue with shared_mutex usage on write operations in the event dispatcher
Scene loading is now controlled via config options
Wrapped the static service's initialization for scenes in an active object to prevent weird issues due to dataraces.
Merge pull request #514 from apathyboy/cleanup

Moved game code to the dll.