Better type handling for save options
Merge branch 'translation-save-states' of github.com:zanata/zanata-spa into translation-save-states

# By Alex Eng
# Via Alex Eng
* 'translation-save-states' of github.com:zanata/zanata-spa:
  Change statistic to message unit, fix PhraseService to limit cache size