rhbz953734 - refactor content state
rhbz953734 - refactor content state
fix compile error
Merge branch 'review-2-rhbz953734' of github.com:zanata/zanata-common into review-2-rhbz953734