magic methods no longer are virtual, so that more signatures are acceptable. added support for __callStatic()
update documentation, fixed __compare() method
ensure that to __to*() functions always return a Value object, fixed compile errors in example