Implement readline_info()

Summary: Used php-src for this.
readline is now at 100% good zend tests
Closes https://github.com/facebook/hhvm/pull/3799

Reviewed By: @JoelMarcey

Differential Revision: D1568453