Changed DocumentCollection's init to check if its provided parent is an
AgentContext and, if so, use the context Database instead (Issue #60)