Bug 918415: ignore l10n comments at parsing time

This patch also makes parse() code closer to what we use today on mozilla.org