PLAT-170 moving WikiaLogger to lib/wikia

Our logging functionality is core to the functioning of the platform. As
such it shouldn't be loaded as an extension but a library. This commit
moves the WikiaLogger to lib/wikia.

As part of this move, I'm also moving Monolog and Psr to composer so we
don't have to handle the autoloading.

/cc @nmonterroso
Adding lib/composer/README.

Just so everyone knows what's happening with this directory.

/cc @nmonterroso @owend @jnrbsn
added nlp pipeline queue
allow override of default task type
new task and hooks for parsing pipeline
override method exists check
fix tasktype setting
update asynctasklist to allow extension for backend queue consumers
new approach -- use asyncbackendtasklist directly
a couple of tweaks after working on the python part of the parsing pipeline
Move lib/wikia -> lib/Wikia to match the namespace.
Adding autoloader.php & fixing WikiaLogger naming.

Added autoloader.php to lib/Wikia. From now on, anything properly
namespaced under lib/Wikia will be automatically loaded. The WikiaLogger
will be used as the guinea pig.

The Wikia/autoloader.php has also been added to DefaultSettings.
Document the lib/Wikia changes to DefaultSettings

Added comments about PSR-4 and lib/Wikia, composer, and the load
order.
refactor hook interactions to support ID handling
fixes to setup script
WikiaLogger cleanup: moved hook to own class

The WikiaLogger class included a hook function for loading some JS on
the page to handle 'onerror'. This commit moves that code to it's own
class and adds the hook in DefaultSettings.php along with the other
'WikiaSkinTopScripts' hooks.
Merge branch 'dev' into PLAT-170
Moved PHP files to lib/Wikia/src.

Moving lib/Wikia to lib/Wikia/src so that we can have source files and
PHP alongside each other. The tests will reside in lib/Wikia/tests.
Adding lib/Wikia/tests & an ex. with WikiaLogger.

Added lib/Wikia/tests and an example with WikiaLogger. I also refactored
WikiaLogger slightly to remove the ident and reduce the instances to a
scalar. It simplifies things slightly and I don't think there will ever
be more than one instance at any given time.

I also made the loading of the Logger lazy. This should make testing
easier.
Move ES log toggling from global to class property.

Moved ES log toggling from global variable ($wgDevESLog) to class
property on the formatter. As part of the move, added DevModeFormatterInterface to
facilitate the toggling. Now, in order to use ES/logstash in dev, you
need to toggle the formatter and enable dev mode.

  \Wikia\Logger\WikiaLogger::instance()->getSyslogHandler()
    ->setModeLogstashFormat()->disableDevMode();

I also moved the setup of the error handler and the toggling of dev mode
to Wikia\Logger\Hooks. This isn't quite right because it means that some
messages will be logged locally in production until this hook is loaded.
It's a placeholder for now.