Regression test for #1345
(cherry picked from commit 98b149b869e3519375a2398f3ba4d1aba3ddf19d)
Dropped PHALCON_SEPARATE in favor of SEPARATE_ZVAL
(cherry picked from commit 823ab0475482f8a8ab2cc0e4aeb8d046fabfad10)

Conflicts:
	ext/kernel/memory.h
Fix #1340
(cherry picked from commit 2c7c1f8b9bbb903ae5a33eeb02b70cd8f8e8ce8b)

Conflicts:
	ext/kernel/memory.h
Bug fixes
Backported ed3548dd0fb74929124397ae1796999624778b8d
phalcon_fetch_parameters_ex()
(cherry picked from commit cc8bc086381dc0b8d2b8a2751f29c0667545da33)

Conflicts:
	ext/kernel/main.h
Use ghost zval
Fix #1345
(cherry picked from commit 44d5c5b89abcaa348b4b79b906a36c1aa7c1358c)

Conflicts:
	ext/debug.c
	ext/kernel/main.h
	ext/kernel/memory.h
	ext/mvc/model/query/builder.c
	ext/security.c
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