added isNone() for not including a document
Merge branch 'master' of ssh://git@github.com/xdocc/xdocc.git