Convert most resources to use ResourceLoader

This fixes some compatibility issues between this module and modern MediaWiki's, namely around jQuery and jQueryUI. Without this, the Bugzilla tables shown are offset to the right due to improperly formatted CSS.

This extension loads an jQuery plugin (DataTables) that does the pagination, which necessitates this being placed in "top" instead of the default "bottom".

Better might be to install the actual MW extension that someone has created just for this (http://www.mediawiki.org/wiki/Extension:DataTables), but that's a bit larger scope and I'm not quite ready to go that far just yet.

Tested and working on wiki-dev.allizom.org, though I have not significantly looked for regressions.