Move interwiki.cdb and trusted-xff.cdb into wmf-config

Add safeguards round loading of trusted-xff like interwiki has

Change-Id: I29864c4a3a4c45264ba09757ff127fda8bac43bc