Added entity class to be inherited by operation subclasses

This allows for subclasses to have access to a $bsonId method that is
useful for converting IDs from strings to ObjectIDs