Improved Import Definition. Ported regex type declaration parser from haxe-sublime-bundle.