Improve functional-ness of register for simplification.

This allows uses such as
```
module.exports = fixtureFactory.register('foo', barModel);
```
Resolved conflicts after merging.