DS.RESTAdapter: Robust Support for Parent->Child Hierarchies

We had the need in our app to save transactions in parent->child order to ensure foreign keys are present. This PR uses nested promises to resolve dependencies.