[do not merge] refs #6657 - add new validates_lengths_from_database dependency

Depends on https://github.com/theforeman/foreman/pull/1593 and for the exact version spec to be confirmed.