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.
Allow plugin authors to define database queries using new syntax

This is designed to make the life easier for plugin authors to choose
when to update their plugins.

In 1.2 we have only old DB syntax.
In 1.3 we allow the new syntax, and continue to use adodb.
In 2.x we use the new syntax and move to the PDO based layer.
Move menu generation functionality into Menu Class and update CSS

This builds and completes work originally by daryn

Functionality has been tested with plugins implementing the following hooks:

EVENT_MENU_MAIN_FRONT
EVENT_MENU_MAIN
EVENT_MENU_MANAGE
EVENT_MENU_MANAGE_CONFIG
EVENT_MENU_ACCOUNT
EVENT_MENU_SUMMARY
EVENT_SUBMENU_SUMMARY

CSS changes have been tested on:

IE8
IE9
IE10
IE11
Firefox 31.0
Firefox 32.0
Chrome 37.0
Safari 7.0.6
Simplify configuration of last visited feature