Move hooks.txt docs from mediawiki/core

Change-Id: I489cdbc71f377aed299dc2f7edfd966cb1025d6f