Fix invalid memory read
Fix crashes under Valgrind

* Fix crashes under valgrind when Zend MM is used;
* Double the number of preallocated frames (based on the longest
  execution path)
* More checks for the debug mode
Optimize/annotate kernel/object.h
Bug fix for PHP 5.3
Remove magic methods and constructors from interface definitions
Fix valgrind + setlocale() issue
Fix #1999
Merge pull request #1994 from sjinks/1.3.0

Fix invalid memory read
Merge pull request #2003 from sjinks/obj-opt

Optimize/annotate kernel/object.h
Merge pull request #2004 from sjinks/interfaces

Remove magic methods and constructors from interface definitions
Merge pull request #2005 from sjinks/valgrind-setlocale

Fix valgrind + setlocale() issue
Merge pull request #2014 from sjinks/issue-1999

Fix #1999