Fix documentation and styles
Fix documentation and styles

* Also change variable $chr to $code in Josa::getJosa

Change-Id: Ifafd2049fd847511a2b26c43feb856792a628260

wikimedia/mediawiki-extensions-Josa,wikimedia/mediawiki-extensions-Josa