Bug fixes 13/09/2013 :
- Adapt the code to match the new Dojo.Deferred<TYPE> signature.
- Fix some errors.
- Use Dojo 1.9 API.