Fixes an issue with allowed file extensions.
Fixes #312.
Update .gitignore
Updated users.json to support PHP versions < 5.5

Replaced default passwords with sha-512 hashes. Passwords will be re-hashed with the best hashing algorithm available during the first login.
Merged with branch master.