Uses Django's built-in client-side i18n machinery to
support translation strings in javascript code as well.
Various cleanup, etc. included to make translation file
generation succeed and remove obsolete strings.
Implements blueprint javascript-i18n.
Change-Id: I62c237ae98b26307e1e7d8a7d913237530e7324f