Unload require modules after destroying the application
Removed nesting of queuedRequire and queuedApplicationIniit
Moved helper method from "this" to closure scope as Jasmine has a different "this" context.