adding a method to get tier from an itemstack
should fix issues #2 and #3