Fix undefined MongoClient in HHVM 3.1 and Ubuntu

The mongo extension would be loaded but var_dump(new MongoClient()) would cause an exception because the class was not defined.
Rename cpp/php files to match class names
Refactor PHP concatenation in build script and ignore ext_mongo.php
Merge pull request #57