Finish PipeInventory implementation

Except for setMaxStackSize
>_<
handle should be null if material is air. Add missing validators.