Add some optional policies around password resets, such as password reuse, forced password resets, allowed frequency of password resets
password history: just limit the result set range to simplify iteration logic
Merge pull request #2781 from edx/cdodge/password-history-enforcements

Add some optional policies around password resets, such as password reus...