a script to create local database

Added a script tools\recreatedb.php to create local database from
recreatedb.sql