Add optional selection border feature

setSelected, getSelected allow choosing one of the slots
to be "selected", drawing a distinctive border around them.
By default, selectedIndex is undefined so there is no border, but
you can use this feature for having an "active" item (see: voxel-inventory-hotbar)