fix problem upon converting score to string
added testcase
replace remaining occurences of _php_math_number_format
use helper for converting from double to string, use _ex version of _php_math_number_format_ex for PHP 5.4
Use module API version instead of PHP_MAJOR/MINOR version. Fix char as argument
RedisArray fixes

I created this branch to go through issues raised by @seansawyer regarding
RedisArray functionality.  The first commit addresses issue #205 (KEYS)
command.  More investigation is required for the two other issues raised.
Added EXISTS as a read-only command, which sorts issue #206
Added a specific clause in the failure/failover logic for the TYPE command,
as it will return a LONG response of ZERO if the key is not found.  Given
that other commands can actually return zero and are not failures, the
specific check was needed.

Fixes issue #207
PHP 5.4 number encode fix
Add back nuked comment lines
fix segfault when using persistent connections
Properly apply a prefix on sort(), sortAsc(), and sortDesc() methods with an
included unit test to make sure it's working properly.

This fixes issue #226
Merge branch 'master' of github.com:nicolasff/phpredis
Remove a debug line
fixed bug different type command returns
Merge branch 'php-numencode'
Add common.h to redis_session.c
64bit compatibility problem

fix type problem of zend_parse_parameters in eval, evalsha, migrate
Merge pull request #234 from oylbin/master

fix 64bit compatibility problem for issue #233
Add 'database' parameter to Redis sessions

Fixes GitHub issue #235.