Changed tmp table
Simplified handling of setting and getting temporary data, updated the cron job (incl. unit test)
Otherwise __toString() can only be called once
Use assert methods
No default value for BLOB/TEXT
Created unit tests for registration and login
Extended database to support transactions with PHP 5.5 features
Merge origin/master