secured unserialize

- update for BC-compatible unserialize
- add tests

Conflicts:
	ext/standard/php_var.h
	ext/standard/var.c
	ext/standard/var_unserializer.c
	ext/standard/var_unserializer.re