Mysql as class with a query function.

Registration function uses crypt and stores the hashed password in the database.
Installation file changed.