Catch correct exception in updateSearchConfig.

Without this sometimes we'd throw out big nasty non-mediawiki exception
messages.

Change-Id: Ib9ab06706fff1c7524f002e065157da7adc36669
Add namespace to search result if not 0.

Change-Id: I916bb2fe46f6ffbb3aaad70d1c72f11244183a4b