[WIP] PHP-1189: BSON Regex type

https://jira.mongodb.org/browse/PHP-1189

Currently missing BSON encoding/decoding.
Too much indentation here.