Added README and license.
Added a fix to the original script (escape tablename by default).