Add machinery for internationalizing our javascript.

This adds the javascript catalog view, and the random bits of plumbing we'll
need to localize all the strings in our javascript code. It does not actually
mark any strings in the javascript code--that's coming in a future change.

Reviewed at https://reviews.reviewboard.org/r/4452/