implemented __toString, __toInteger, __toFloat and __toBool methods
update documentation about casting methods