Added some backwards compatibility for PHP5.0. Added MySQL cases for re-installation.
Added support for begin_transaction(), and password_hash(). Added queries to handle clean-reinstallations.
Merge branch 'backwards_compatibility/php5'