Locked chest integration

These additions allow one to use locked chests as well as chests to receive items from pipes, but locked chests do not work with filters in order to prevent theft.