fix grunt task
Update readme
Update changelog and package files
Fix typo.
Merge pull request #21 from knalli/patch-1

Fix typo.
chore(async): Improve loading configuration, assert and ensure invalid ones.

- If the loader is not valid, it should not be used.
- If `invokeLoading` will be invoked, it is possible that no async loader is available (empty array).
- Assert the loader builder function returns a valid function.
Add missing var statement
Merge pull request #25 from knalli/improve-loader

chore(async): Improve loading configuration, assert and ensure invalids
Merge branch 'canary' of github.com:PascalPrecht/ng-translate into canary
Merge pull request #27 from jamesandres/missing-translate-handler

feat(translateProvider): missingTranslationHandler
chore(loader): Auto-recognize nested objects supporting namespaces

If the result of any asynchronous loader (regardless function or XHRs) is a nested object, each key will be traversed the object flatten down.

Example:

```json
{
  "DOCUMENT" : {
    "HEADER" : {
      "TITLE" : "Header"
    },
    "SUBHEADER" : {
      "TITLE" : "2. Header"
    },
    "TEXT" : "<em>{{randomValue}}</em> is the answer to life the universe and everything."
  }
}
```

will result into this in `$translationId` internally:

```json
{
  "DOCUMENT.HEADER.TITLE" : "Header",
  "DOCUMENT.SUBHEADER.TITLE" : "2. Header",
  "DOCUMENT.TEXT" : "<em>{{randomValue}}</em> is the answer to life the universe and everything."
}
```

related issue #14
feat(translateProvider): add a preferredLanguage property

Add the "preferredLanguage" property in order to solve an initial language
setting issue. At the configuration phase it's better to use this property
instead of the "uses" method, because if "rememberLanguage" is set to true
it may invoke a language file loading process twice (the language from the
uses method and a stored language).
chore(preferredLanguage): change demos

Change demo files in order to show a way of using the preferredLanguage
property.
test(preferredLanguage): add simple tests

Add simple tests for basic behavior of the preferredLanguage property.
Merge pull request #28 from knalli/namespace-support

chore(loader): Auto-recognize nested objects supporting namespaces
Add contributor to readme
minor formatting
chore(test-structure): split spec files

split test spec files for better readability and maintaining
Resolved conflict
fix(tests): fix tests for preferredLanguage()