readline_read/write_history's parameter is optional

Summary: When passing `NULL` to ` write_history` or `read_history` `~/.history` will be used.

Also stop returning false on success and true on failure...

Closes https://github.com/facebook/hhvm/pull/3875

Reviewed By: @paulbiss

Differential Revision: D1584848