Added common math modules and general utils.
Added tools for exception handling in C callbacks (http://www.gamedev.net/page/resources/_/technical/general-programming/d-exceptions-and-c-callbacks-r3323)
Logging is made const available.
Added support for monitors and windows.