Fix undefined index 'badges' in SiteLinkListPatcher
Add test
Merge pull request #225 from wmde/badgepatch2

Fix undefined index 'badges' in SiteLinkListPatcher