[PHP-659] Add and fix method prototypes

See: https://jira.mongodb.org/browse/PHP-659

This is incomplete. I'd like to collect some initial feedback on the GridFS changes before I move on to other files.