Provide own arrow images and methods

Copied from mediawiki/core. Doing this is compatible with older
MediaWiki versions, too.

Bug: 69676
Change-Id: Ieb5bb6f908a273321d49a56c9ead0b267c9280a7