HG-16: Mercury API Extension

DO NOT MERGE, THIS PR IS PART OF PROJECT MERCURY! 
Heyo @drsnyder, while I 100% agree with you about thin controllers, MW/Wikia devs have traditionally just done **everything** in controllers and "helper" classes.