Adding MySQL implementation for database.
Added migrate/revert folders.
Passing params a little more cleanly.
Added function to check if table exists.
Formatting.