Properly calculate level cost for books. Fixes BUKKIT-3410