JS error reporting
Merge pull request #581 from Wikia/js-error-reporting

Front-end part of JS error logging.