Support `lang` option on images.

Includes support for parsertests using the lang option.

Unrelated changes:
* Replaced a tab with spaces from all config files
  (introduced in f9873409).

Change-Id: Iae50f6e4948844b94a66f8437e12e05aa3ec1685
Merge "Support `lang` option on images."