Fixed PHP-658: Add error codes for GridFSExceptions
Test for exception codes too for PHP-658
Merged pull request #279