Made module::emitSharedLibraryFile's library handling code a bit more clearer. Made it possible to define external_functions without specifying a library and made it possible to add more libraries to the linker via the context_emit_options.
Made the omni-tests project execute the tests in the post build event to see test output in the visual studio output window.