Set correct title in the loaded translation editor

Change API to include the full title string and use
it in the JavaScript messages loader.

Change-Id: Ia8a8035ddb99bd09c270590db5704d1e040ba25d