Small additions, one bugfix

Item: Added a zoffset parameter, this has the same effect as the zoffset
parameter in CreateItem.

Door: Added function GetDoorState to return the current state of a door.

Fixed a small file read error in the notebook module.