Security updates.
Fixed database.php after testing.
Finished prepared handler.
Whoops, extra update.
Merge pull request #5 from simon-andrews/security

Security