Zanata spa

New endpoint for zanata-spa
- /locales 
    - list of locales enabled in zanata
- /projects/p/{projectSlug}/iterations/i/{versionSlug}/locales 
    - locales enabled in version
- /projects/p/{projectSlug}/iterations/i/{versionSlug}/r/{docId}/states/{localeId} 
    - list of {id, resId, states}
- /stats/proj/{projectSlug}/iter/{versionSlug}/doc/{encodedDocId*}/locale/{localeId} 
    - statistic
- /user
    - get user's information for the current authenticated user, equivalent to /user/{username} with the current user's username.
- /user/{username}

source and translation
GET
- source?ids={list-of-ids}
- trans/{localeId}?ids={list-of-ids}
- source+trans/{localeId}?ids={list-of-ids}

PUT 
- /trans/{localeId}
If this method is the "getter" for a project resource, then it should look something like this:

```java
@GET("/project/" + PROJECT_SLUG_TEMPLATE)
@Produces({ MediaTypes.APPLICATION_ZANATA_PROJECT_JSON,
    MediaType.APPLICATION_JSON })
@TypeHint(Project.class)
public Response getProject(@PathParam String projectSlug);
```