refactor(common): improves $then behaviour for inmediate resolution.
feat(): creates the extended api module that is included in collections and records.

Also adds the $resolve method and logic.

Closes #78, #115