What are these connectors called?
They are called crimp housings. Harwin makes them:

http://www.harwin.com/M20-106/M20-1060400-product.html

and they are widely available. I get the 10-way ones and cut them down to the size I need.