Reduced generated password length to 8.
Fixed wrong url generation in password reset mail.
Handle case where homefolder generation is disabled.
Pep8
Merge pull request #21 from 4teamwork/lk_fixes

Fix password length and occasionally wrong urls in password reset mail