VID-1832 refactoring to remove non-controller methods from controller an...

...d into helper class

Don't merge yet. 
@jsutterfield It looks like this isn't the only place the article treatment of inline images is needed, as I don't see the wrapper around the inline image at the very bottom of the page here: http://lizlux.liz.wikia-dev.com/wiki/New_thumbnails. Please have a look.