altered bed item code

it now calls onNeighborBlockChange() for all involved blocks, after
placing the tile entities.
as a result, the updatePairName() only needs to confirm if there are
valid pairs to determine if it's value needs to be changed.  it can also
ignore tile entities if they don't exist.