fixes test code for rails 4.2
Adds filter support for `enum`

If it detects an enum it creates a dropdown filter with
the possible enum values as options.

fixes #35