Fix return types
(cherry picked from commit 68cd64855fad8b2d1c2ef79185796c4d13859880)
Do not indirectly modify properties with refcount > 1
Fix #1327
Updated changelog [ci skip]
Regression test
(cherry picked from commit c3180c2287a8fd91525ec1f3bf2e45bbedfc28d6)
Fix phalcon/incubator#44

Conflicts:
	ext/logger/adapter/firephp.c
	ext/logger/formatter/firephp.c
Regenerated build/ files
Merge pull request #1330 from sjinks/1.2.4

[1.2.4] Backports of bug fixes from 1.3.0