Move getKlass into seperate function (fabric.util.getKlass)

Move getKlass into seperate function (fabric.util.getKlass)
Update README