Reformatted sourcecode (indent with spaces -> tabs)
Added NSMSESSION to cmake
Added H2CORE_HAVE_NSMSESSION macro