Refactored sequential deferred handling to be better

As Benoit noticed: $.then() flattens promises!
Deferred.sequentially() now becomes a wrapper round this to manage
passing the state.
Removed & refactored code
Use state rather than initial_state
Merge pull request #53 from mattdenner/refactor_deferreds_with_then

Refactored sequential deferred handling to be better