Allow retrieval of non-flushed document translations.

- getLocalesFor now takes into account pending translations
- Prevent binding a translation if it would overwrite an existing translation
Merge pull request #375 from dantleech/early_locale_support

Allow retrieval of non-flushed document translations.