Fix gcc and clang warnings everywhere
flash.c: fix warnings produced by scan-build
mvc/model/criteria.c: fix warnings produced by scan-build
mvc/application.c: fix warnings produced by scan-build
Fix possible crash when Z_TYPE_P(module) != IS_ARRAY and module_object is not initialized
Make sure we do not dereference ir_phql_cache when it is NULL
mvc/model/manager.c: fix warnings produced by scan-build
kernel/framework/router.c: fix warnings found by scan-build
Improved macros in php_phalcon.h

* likely() and unlikely() rely upon Zend's EXPECTED()/UNEXPECTED()
* added ASSUME() and UNREACHABLE() macros to help facilitate static code analysis
Added ASSUME() to help static code analysis
Merge remote-tracking branch 'upstream/1.2.0' into warnings
Merge pull request #774 from sjinks/warnings

Fix gcc and clang warnings everywhere