Some fixes

* Remove list.clone (unused) and scalar.substr (standard) methods
* Show only real stack trace in ThrowTemplateError
* Move constants out of Bugzilla::User to solve issues with circular use's
Fix error reporting, determine current template
Experimental implementation of select fields as hinted editboxes