ISSUE-10 Avoid casting issues for non-OWLEntity

(such as OWLObjectMaxCardinalityImpl)
Fixes https://github.com/irl/strigidoc/issues/10
Merge branch 'issue-10-owlobjectmaxcardinalityimpl'