Fix wrong property comparison.
Add unit tests to check for the behaviour.
Merge remote-tracking branch 'upstream/master' into lowjoel-fix-2320

Conflicts:
	hphp/system/systemlib.h
Fix changing the info member of ReflectionParameter to private.
Break up the native classes that needs initialisation into two stages.

The first phase defines classes needed by systemlib; the second defines the rest.
Load the native types in two stages: the first needed by systemlib, and then the rest.
Initialise some base classes used by systemlib before the rest.
Merge branch 'lowjoel-allow-closures-in-systemlib' into lowjoel-drupal7
Merge branch 'lowjoel-fix-2320' into lowjoel-drupal7