refactor(cleanup): replace each with sequential promise chaining
refactor(cleanup): replace each with sequential promise chaining
Merge branch 'remove-each' of https://github.com/redgeoff/delta-pouch into remove-each

Conflicts:
	index.js
# This is a combination of 2 commits.
# The first commit's message is:

fix(profile-example): only set profile when a doc exists

# This is the 2nd commit message:

refactor(cleanup): replace each with sequential promise chaining
Merge branch 'remove-each' of https://github.com/redgeoff/delta-pouch into remove-each

romise chaining
Merge pull request #16 from redgeoff/remove-each

refactor(cleanup): replace each with sequential promise chaining