Fix failing unit tests
 * Add base HTML tag to fix missing base URLs for attributes in documents created using DOMParser
 * Use default media width from core settings
Revert "VE-908 Fix some failing unit tests; remove unwanted settings for media"

This reverts commit ec3c6cc15d2b9758dd618ba9213f676bbed7c0d3.

Will be re-committed in multiple commits.
Fix failing unit tests
 * Change Wikia test execution to new looped format