Dispatch fixes that takes care of corner cases such as yui modules with the same name but client/server affinities, duplicate yui names at different levels or with different selectors.
Removed unused code. Making sure that _staticDetails exists, this may be the case when using lazyMojits/lazyLangs and executing a mojit without going through the mojito-handler-static middleware (for example through some testing framework like mojito-markup-test)