Show time tracking on print issue page

This change includes the following fixes:

- Use bugnote API in print issue page.
- Add time tracking information in print issue page.
- Use bold for both reminders and time tracking, rather than one bold and one italics.
- Remove fixup of bugnote type to TIME_TRACKING in API rather than in calling code.

Fixes #17410
Fix basic auth for soap

This is a modified version of the suggestion by neowizdom on the bug.

Fixes #17455
Fix assoc array handling in config page

This issue likely affected integer handling in general.  The fix tackles the following:

- Detect and handle properly numeric strings.
- Don't do constant replacements when the constants are enclosed in quotation marks.
- Variable name fix.

Fixes #17533
Fix php errors with filters

This fixes the php errors that occur when clicking on View State, Match Type, and Highlight Changed.

The change includes:
- When a filter is retrieved for a user, if the user doesn't have a filter or something is wrong with it, return default fitler.
- Move access to $g_filter into the filter_api and introduce filter_init() API.  Default $g_filter in filter_api as well.
- View State initialization should use correct type to avoid type mismatch in check_selected().

Fixes #17654
SQL injection in mc_project_get_attachments()

This is a follow-up on CVE-2014-1609 / issue #16880.

Edwin Gozeling and Wim Visser from ITsec Security Services BV
(http://www.itsec.nl) discovered that the fix in #16880 did not fully
address the problem. Their research demonstrate that using a specially
crafted project id parameter, an attacker could still perform an SQL
injection.

The same issue was also reported by Paul Richards in issue #17823.

This patch fixes the problem by typecasting the Project ID parameter
to Integer.

Fixes #17812, CVE-2014-8554
Float the details view action buttons toward the left

Fixes #17819

Signed-off-by: Victor Boctor <victor@mantishub.net>
Align issue titles and remove title hyperlink

Fixes #17824

Signed-off-by: Victor Boctor <victor@mantishub.net>
Fix RSS button and login info alignment

Fixes #17817

Signed-off-by: Victor Boctor <victor@mantishub.net>
New Event: EVENT_MANAGE_PROJECT_DELETE

Add new event: EVENT_MANAGE_PROJECT_DELETE

These events allow plugins to process or 'block' a project deletion,
as they occur prior to any version or project deletion.

This could be used to allow synchronisation with a 3rd party system, to deny
the deletion of specific projects.

Fixes #17783

Signed-off-by: Victor Boctor <victor@mantishub.net>