Merge branch 'v1.4'

* v1.4:
  Rename filename and title of the test as per PR review
  Fixed PHP-846: Unix Domain Sockets no longer work
Fixed PHP-809: Deprecate use of "safe" all over collection.c.

We only have to check and warn for the old "safe" in is_gle_op, but not again
in append_getlasterror as then it would always just show up twice.

I've changed all the "safe" to "w" in the tests, even in places where due to
MongoClient this isn't necessary and they instead can be removed. However, I
found that out of the scope of this PR and it's probably better to be implicit
about them anyway.
Use gle_pp consistently (instead of safe_pp and w_pp) and rename do_safe_op to do_gle_op
Fixed test cases.
Merged pull request #444
Merge branch 'v1.4'
Fixed prototypes and return values, segfaults on invalid hash and add a test case.

I decided to go for a warning as it's not really an exceptional state, and it's
how MongoClient::close() does it as well.
Merged pull request #475
Making test cases more portable, especially handy for Jenkins.
Merged pull request #476
Fixed PHP-848: Invalid read in master
Merged Pull Request #474

* pull-request/474:
  Fixed PHP-848: Invalid read in master
Force native_long mode.

Without native_long enabled, the cursor ID turned into a floating point number
which didn't (exactly) match with the real cursor ID.
Merged pull request #479
Get rid of MONGO_METHOD() for MongoCursor->limit()
Get rid of MONGO_METHOD(MongoCursor, reset)
Get rid of MONGO_METHOD(MongoCursor, current);
Get rid of MONGO_METHOD() addOption
Remove MONGO_METHOD() for DBRef creation
Fixed CS based on PR review