Also fail if fwrite() returns 0, not only if it returns false.

Closes #34.
Makes tests pass for everybody.

The date tests were dependent on the server's timezone settings.
Adds tests for prefix notation.
Adds support for the prefix notation.

Closes #38.
Merge pull request #39 from Phally/dev-tests

Makes tests pass for everybody. (date tests where time-zone dependant)
Merge pull request #40 from Phally/dev-prefix-notation

Adds support for the prefix notation
Implement cursor->close(). This implements #42.
Treat strings that could be numbers as strings.
Implemented indexCreateMulti.

Closes #35.
Merge branch 'dev'
New ql2.proto specification for RethinkDB 1.11
Implement parsing of JSON responses.
Added profiling support.
Bug fix: Cursor->close() didn't reset its data if the cursor was already complete.
Improved cursor test and new profiling test.
Reverts accidentally changed port in run.php
Support and tests for noreplyWait.
sync() term.
Implemented indexStatus(), indexWait().
[default] values in ql2.proto didn't work properly with our custom pb4php modifications. Removed those.