Preloader

I've modified the ApplicationMain.hx flash and html5 templates so custom preloaders don't necessarily have to extend NMEPreloader, and sorted out minor formatting issues in the classes involved.