Add password directive

Refactor the rules so that they can be looped over without needing to know what lengths are involved. Put the length in the rule, or add it as a property to the rule entry eg:
```js
var rules = [
    { name: 'dcmPasswordNumber', rule: /\d/, min: 8, max: 11 }
]
```