Enchanting mechanics

This is better formula for cost of enchantment with precision of 1pt but that is probably caused by rounding in vanilla. Calculation of multiple effects enchantment doesn't work yet. There are other problems in Enchanting class and enchanting GUI window. I will work on this further.