Fix issue when ActiveRecord isn't present.

Moves the conditional check inside the fixture support module definition to make including a no-op when there's no `ActiveRecord` fixes #1027.