Adds block.getAttachedBlock(), closes #77

If anyone knows of a better way to do this, be my guest.