Sanity check --rewrite-blacklist: don't allow simultaneous --filter.

Bug: 51448
Change-Id: I10bbe220512e5c2ffd44ccffd436bb4587f7f131
Handle $wgAllowExternalImages in wiki configuration.

Parse 'allow external image' information in MW SiteInfo API response.
Set allowExternalImages in wikiconfig based on parser test option.
Check wiki configuration before making links to external images.

Bug: 51092
Change-Id: Ic82387a97ad73eab56a0fda798132b88c9ea7ee1
Merge "Handle $wgAllowExternalImages in wiki configuration."