Add Linux compatibility

Fix bugs that Visual Studio let pass
Change event manager back to use perfect forwarding references
Only include integer sequence for Visual Studio
Fix missing namespaces before std types
Compiles under GCC 4.9.1 now