Adds access to the record in the validator.

We wanted to check password strength against more than just the username (or other supplied) field. Because we have several models that we want to validate, we needed access to the record in the validator. This allows us to check the class of the object, and check against relevant fields accordingly.

This may not follow your vision for the gem, but it works for us.

Wrote a test as well, it does the job although it's far from perfect. It tests by setting a field value inside the validator, which is of course not done in production code, but as a test case it seems to work.

Happy to answer any questions or concerns you have,
Cheers