Added canSet method

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>

A generic method that can be used a lot to add material or other restrictions to certain slots in an inventory. This method should be used before set is called, well, by the implementation that is. Plugins can always ignore it and set an armor slot to wood if they like. :)