Test for #1349
(cherry picked from commit 41889b202f34377873b55cde98656c7b7856c816)
Fix #1349
(cherry picked from commit 56bbf0e2fdeee88edab3f2260ca2c5ed110fa938)

Conflicts:
	ext/forms/form.c
Updated CHANGELOG
Regenerated build/ files
Merge pull request #1354 from sjinks/1.2.4

[1.2.4] Backport bug fixes from #1347
Merge remote-tracking branch 'upstream/1.2.4' into QA-valgrind-1.2.4

Conflicts:
	build/32bits/phalcon.c
	build/64bits/phalcon.c
	build/safe/phalcon.c
Conditional jump or move depends on uninitialised value(s)
Updated ext/mvc/collection.c
Regenerated build/ files
Merge pull request #1360 from sjinks/1.2.4

[1.2.4] Fix valgrind errors
Merge remote-tracking branch 'upstream/1.2.4' into QA-valgrind-1.2.4