Use C++11 scoped enums.
ResourceManager: Avoid warning.
Build: Use the correct variable for the Lua libraries.
Build: Correct filename of root CMakeLists.txt.
Whitespace.
Logfile: Add BOOST_ATTRIBUTE_NORETURN to logThrow(), fixes warnings.