Returning promise of Deferred object.

The method will not return the promise instead of the full Deferred
object. That does not change much for the code but will remove the
methods that allow to change state, just in case.
Added title to index page.