Issue update factory boy

Updates the factories to the changes introduced in the new FactoryBoy version (2.4)
See http://factoryboy.readthedocs.org/en/latest/changelog.html