Make `FakeRecord` and record factories compatible

This makes sure record factories and fake records work together.
This allows using factories to build fake records, defaulting
their attributes. This provides all the features of factories
for fake records that were recently added for regular records.