Add htpasswd module

Add a new module for managing entries in an htpasswd file, used
for basic authentication with web servers such as Apache and Nginx
Add GPL header and copyright
Merge pull request #3336 from lorin/htpasswd

Add htpasswd module