Revert "Changed DocumentCollection#getParent to return a database regardless of source. Added DocumentCollection#getParentView, which returns a creating view if applicable, else null"

This reverts commit fe359a940dc586a9583c5723fa8ae3b675c72f24.