CXX-278 merge SERVER-14482 from upstream

SERVER-14482 Add ability to append RegEx into BSONArrayBuilder

Conflicts:
	src/mongo/dbtests/jsobjtests.cpp