readdir, closedir, rewinddir with parameterless overloads

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3873
PDO improvements:
- PDO::MYSQL_ constants
- PDO::__construct overload fix
- PDOException constructor implemented to work with Phalanger
- PDO DB connection management uses PhpResource internally

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3874
PDO methods overload fixes

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3875
- fopen "a" mode causes a missing file to be created
- ReflectionClass::implementsInterface()
- PDO cleanup
- PDOStatement::execute() overload fix
- PDOStatement::execute() binding cleanup
- SQLitePDODriver.Quote() properly encloses value in single quotes

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3877
ArrayObject implementation stub

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3880
ArrayObject XML doc & stub fixes

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3881
PDO closes pending reader when starting new transaction

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3882
Finilizing objects fix

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3883
PDO fixes
- overloads fixes
- FETCH_COLUMN support
- code maintenance

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3884
SimpleXMLElement.ToString returns content of the element

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3885
handling NULL in some library functions properly

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3886
PDO closes pending reader before commit properly

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3887
PDO overloads fix, converting DB values to PHP types

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3888
SimpleXMLElement Create from attribute fix

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3889
code maintenance

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3890
fast&proper is_numeric()
- not causing PHP exceptions
- not reporting bool/null/.. as numbers
- not causing conversion of an object to a number

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3895
Type compilation fix
- class implementing interface and extending another class that implements the same interface but not implements its methods fix :-)

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3896
PDOStatement prepare parameters
- fix when duplicit parameters specified

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3897
glob() returns paths with \ slashes on Windows

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3910
Zip: reading file content fix

git-tfs-id: [http://falcon:8080/tfs/Projects]$/Phalanger/Main;C3914