Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead

Ok, this is huge, Apologies to whoever ens up having to review this. Fortunately all the changes are in test/ so we know the functionality hasn't changed. I'd like at least two reviews so that we keep confidence in the test coverage - @ares can you do the first one?

There's probably substantial improvements we can make in the Host factory traits, feel free to suggest.
I find `n.to_s(16).rjust(2, '0')` a bit more readable but I don't insist, if you added modulo because 256 is not big enough, we could generate two last tuples (using split and rjust 4)