Implement get user information from REST, refactor UI locale list
Add URLs for translation states and text flow data.

Also changes how REST URLs are specified in code. This was discussed
and the prevaling opinion was that specifying the entire path after
the base REST URL for each endpoint would be easier to work with.
Despite the repetition, benefits are:

 - easy to see which variables are needed for each URL.
 - fairly easy to recognize visually which URLs are similar.

Updates JSHint to prevent warnings for valid declaration of functions
that will be hoisted.
Merge pull request #24 from zanata/add-textflow-urls

Add URLs for translation states and text flow data
Merge branch 'master' of github.com:zanata/zanata-spa into add-modernizr

# By Alex Eng (1) and David Mason (1)
# Via David Mason
* 'master' of github.com:zanata/zanata-spa:
  Add URLs for translation states and text flow data.
  Implement get user information from REST, refactor UI locale list

Conflicts:
	package.json