fixes to reflection
first fixes to ext/spl, yet incomplete
some fixes to constants, var_dump and var_export