Convert API module to use i18n help/documentation.

Note that there was previously no parameter API help for this extension, 
so some was made from scratch as well.

MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Bug: T76890
Change-Id: Id6ddbb0491dd1c095c5f0d8c6d6be21684508d0b