Added some null check in Document.getItems and DocumentScanner
Added new Document.getItemTable and .getItemTablePivot