Create DocumentManager::isOpen() accessor for $closed property

This provides a more consistent interface when dealing with various ObjectManagers.
Merge pull request #603