no redefine warning in Bugzilla::Template
Use ThrowCodeError on die() while in console
Use ERROR_MODE_CONSOLE in cli scripts; remove extra html_strip
Fix indexes while doing DB updates

* Fix indexes while renaming keyworddefs
* Remove _visibility_value_id indexes when dropping visibility_value_id column from field tables
Create non-existing tables and fields during bzdbcopy.pl