Clean translations to remove nil values before exporting

Some translations editors (like webtranslateit.com) will generate translations with `nil` values, e.g.

    fr:
      key: ~

These are ignored by Rails (fallback), and should therefore IMHO be ignored when generating `translations.js`