initial draft

new work
--------
* story #143 - added in a throttle mechanism that will create x nr of mediafile jobs and
  then a metadata job if there are remaining mediafiles to process; set with
  Config::$job_throttle
* story #136 adding in licensing, re-factored to use a preg_replace method, also making
  the section a bit more robust for handling various creative commons licensing urls
* re-factoring UploadHandler to use UploadFromUrl adding in an UploadFromUrlJob
* added in preview function, ticket nr #145
* added urldecode on file names to deal with special character, e.g., File:Kansallisarkisto-Susanna_Ånäs-Dan-nl.xml
* re-factoring WikiPages::getTitleFromUrl in order to better handle Titles not found

addressing feedback given in patchsets 1-8
------------------------------------------
- added i18n message documenation
- added output formats to wfMessage
- added sql /*i*/ prefix
- additional i18n entries
- adjusted the install instructions
- cleaned-up i18n messages
- moved author statement to contributor statement in the README file
- moved set_error_handler into the special page so that it only affects GWToolset
- re-factored __constructor placement to the top of the class
- re-factored code so that it uses ContentHandler
  * metadata is now stored as content in namespace GWToolset: instead of in the namespace File:
  * mappings are now stored as content in namespace GWToolset: instead of the main namespace
- re-factored filters for security
- re-factored getArrayAsList by removing its use and applying implode
- re-factored is_null to === null & !is_null to !== null
- re-factored some if statements from single line to 3 lines
- re-factored wfMessage()->plain() to wfMessage()->escaped()
- spell checked messages
- removal of white space, inline tabs & extra indentation
- removal on "extra" new lines
- removal of copyright statement
- removal of some if ( !definded( 'MEDIAWIKI') ) references
- removal of html in the GWToolset.i18n.php file
- removal of colons concatenated colons with i18n messages
- removal of config-custom.php
- removal of methods no longer used
- use of json_encode
- use of https instead of http references to project pages
- use of Linker::link()
- use of $this->dbr->addQuotes
- use of $this->getRequest()->getVal()

Siebrand’s help
---------------
* ran code through a formatter with MediaWiki conventions
* removed some unneeded comments in messages documentation
* small L10n and message documentation tweaks
* a few minor manual formatting tweaks

addressing MarkTraceur’s feedback on patch set 9
------------------------------------------------
* added {} where missing in @var, @param, @return, @throws comments
* re-factored yoda comparisons to identity comparisons
* re-factored XmlDetectHandler->getMetadataAsTableCells() add methods getButtonRowNoMetadata(), getFirstRow(), and getFollowingRow()
* re-factored XmlDetectHandler->processXml(), changed the way it throws exceptions
* re-factored html generation to use Html class
* re-factored underscore array keys to hyphen array keys
* re-factored throwing exceptions in FileChecks & WikiChecks
* re-organized Php/Filter.php and added comments
* refactored ext.gwtoolset.js
** added in the use of jquery dialog
** re-factored addCategoryButtons & addMetadataButtons -> addButtons
** re-factored handleCategoryButtonAddClick & handleMetadataButtonAddClick -> handleButtonAddClick
** re-factored handleCategoryButtonSubtractClick & handleMetadataButtonSubtractClick -> handleButtonSubtractClick
* added method functions.php\getBytes()
* added WikiChecks.php checkMaxUploadAndIniSettings()
* added FileChecks.php checkContentLength()

Change-Id: I648d121d65fcde6fd7bd02708fc7144f68046f06