Fix bug 848121: Add basic search to the gallery page.
Update factory_boy.

Remind me to get rid of this from vendor and put it in 
requirements/dev.txt.
Tests!