Backport loader and deprecate tm formatter

This backports the loader functionality (hopefully fixing #1476) and also deprecates the TextMate formatter (which we missed previously)