[2.0.0] Double % Int workaround

Mongo db workaround

Next compilation issue is:

    /var/www/cphalcon/ext/phalcon/db/adapter.c: In function 'zim_Phalcon_Db_Adapter_insert':
    /var/www/cphalcon/ext/phalcon/db/adapter.c:451:6: error: 'zend_phalcon_globals' has no member named 'db'
    /var/www/cphalcon/ext/phalcon/db/adapter.c:461:7: error: 'zend_phalcon_globals' has no member named 'db'
    /var/www/cphalcon/ext/phalcon/db/adapter.c: In function 'zim_Phalcon_Db_Adapter_update':
    /var/www/cphalcon/ext/phalcon/db/adapter.c:550:7: error: 'zend_phalcon_globals' has no member named 'db'
    /var/www/cphalcon/ext/phalcon/db/adapter.c:580:6: error: 'zend_phalcon_globals' has no member named 'db'
    /var/www/cphalcon/ext/phalcon/db/adapter.c: In function 'zim_Phalcon_Db_Adapter_delete':
    /var/www/cphalcon/ext/phalcon/db/adapter.c:654:6: error: 'zend_phalcon_globals' has no member named 'db'
    make: *** [phalcon/db/adapter.lo] Error 1

this line generates one of above:

    if globals_get("db.escape_identifiers") {

which means that globals_get function doesn't return false or anything like that - but where is it actually declared?

PS. I would like to get to the point that I will be able to compile Phalcon 2.0 then I will write dev documentation(mentioned in different PR)

Thanks in advance,

Kamil