Implement readline_info()

Used php-src for this.
readline is now at 100% good zend tests