Fixed a behavior bug of foreach when using GenericList class at PHP version 5.5 or after.
Changed GenericList class unit test file.
Changed ApcAgent class unit test file.
Merge branch 'feature/20141129' into develop