renamed xmd namespace to lang-ext and moved common code out of js specific packages in preparation for the arrival of gosu jsr-223 impl