#369943 by myself: Backport of Drupal 7 parsing support. Added cross-check with l10n_server so that only modules using the same API will be installed hopefully.