More diagnostics if PHP is built in debug mode
#if, not #ifdef
Fix #1091
Fix #1099
Merge pull request #1098 from sjinks/issue-1091

Fix #1091
Merge pull request #1097 from sjinks/mem-diag

Better diagnostics in phalcon_memory_restore_stack_common() when PHP is built in debug mode
Fixing possible invalid reference in concat
Do not restore someone else's frame in listenLowSeverity()
Native htmlentities()
Charset is configurable
Number of lines surrounding the context is configurable
Merge pull request #1100 from sjinks/1099

Fix #1099