Fix E_STRICT notice in email_is_valid()

Regression from a38858a3accc5aea905cd8c913a0690f4fce7210
Fix missing ;
Fix array index php error in print_all_bug_page
Allow mass update of 'Product Version' field

Implement an option to update the 'Product Version' field for multiple
bugs at once in view.php, similar to existing options for 'Target' and
'Fixed in' version fields.

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Matt's original commit was ported to master branch and modified to add a
missing e-mail notification (e28272287a33a80642b8a7cb50d4d2111aa3ef1a).

Fixes #11802
Version list now contains ALL_VERSIONS

Previously, behavior of new mass-update option was the same as
UP_TARGET_VERSION, i.e. version list was limited to future version.
Coding guidelines
Use existing BugData object instead of bug_get_field()
Allow mass update of 'Product Version' field

Fixes #11802, pull request #331
Remove use of db_prepare_bool.
Use db_param to supply in all parameters
Obsolete use_javascript:

Following brief discussion on Mailing list, from a server side,
we can't tell if someone is running a plugin such as no-script
for firefox, so the frontend should deal with handling the case
where javascript is not available on a client, as opposed to
having this as a configuration variable.
Remove remaining references to magic_quotes_sybase
Remove redundant comment

Comment request is implemented within
file_is_uploading_enabled a few lines above the comment
XHTML/CSS fixes
Fix #0014112: maximum execution time when uploading
HTML validation in bug_report.php
Allow end users to apply styling to confirmation message.

This applies the same styling method to confirmation messages as we
already apply to warning/important/errors
Remove reference to prior PHP 5.3.0 functionality.
Fix #0017589: "Assign To" does not work on page view.php
Optimise tag update db queries:

1) remove unused codeblock from tag_update.php

2) add to tag api a shortcut to not run database query if nothing has
changed on the tag.