Add TitleGetRestrictionTypes hook

Added a TitleGetRestrictionTypes hook which prevents pointless
move and create protections to Wikibase NSs.

Change-Id: I910410df25b40601ec70e0a360a364cf19cba9b8
Merge "Add TitleGetRestrictionTypes hook"