Fix: Alliance detection for involved structures

Fixed an issue preventing proper Alliance detection for involved
structures (Control Towers and such) in some cases.
Fix: CREST/zKB Fetcher with file HTTP method

Fixed a typo that might lead to a fatal error when using the CREST or zKB
fetcher with the "file" HTTP method.
Fix: Fixed typo and copy-paste error in zKB Fetcher

Fixed a typo and copy-paste error in the zKB Fetcher that might have
caused some kills to be skipped when fetching.
Fix: Fix for displaying the error code for Json Fetching errors

Fixed a typo preventing the error code from showing if there was an error
while fetching data from CREST or zKB
Fix: Empty data set from zKB API causing a warning

Fixed a bug causing an empty data set returned by the zKB API to cause a
PHP warning.
Fix: Crest/zKB Fetcher and chunked responses

Fixed a bug causing empty responses for zKB Fetcher when not using cURL
for the HTTP request.
PHP does not in all versions correctly decode chunked HTTP responses when
using file_get_contents(). Added a check and fix for this.
Fix: Fixed possible fatal error in cron_zkb in some environments

Fixed a bug causing a fatal error and the cronjob not to run when executed
via crontab or similar.
Fix: Ignore NPC only kills from zKB Fetch

Fixed a bug causing the "Ignore NPC only deaths" setting for zKB fetch
configurations to not work at all.
Fix: Items in "None" bay were doubled on display

Fixed a bug causing all items in the "None" bay (inventory flag 0) to be
displayed with their quantity doubled, causing on-the-fly calculations to
be off by a factor of 2.
This was a DISPLAY BUG only, the database is NOT affacted.
Enhancement: Expose CREST url via kill details menu

If a kill has been posted via CREST, its CREST URL is shown in the upper
right corner menu on the kill detail page.
Fix: Caching issue while listing zKB Fetch

Fixed a problem with SQL query caching causing the list of zKB fetch
configurations not be read properly from the database.
Fix: Fetching permanently deleted mails from zKB causes error

Fixed a bug causing the zKB fetch process to halt with an error when
trying to fetch a kill which was permanently delete from the killboard.
Fix: Fixed some warnings in API import cron job
Enhancement: Added CREST link generator

Added a CREST link generator for mails with sufficient context information
- the external ID, the victim's external ID, the final blow pilot's
  external ID, the destroyed ship and the timestamp.
If this information is present the CREST link for a kill will be exposed
on the kill's detail page.
The generated CREST hash will NOT be updated in the database, it's
generated on the fly.
Fix for CREST hash generator with NPC deaths

Fixed a bug creating the wrong CREST hash for kills where an NPC got the
final blow (can only happen in NPC only death mails).
Fix for the Fix for CREST hash generator with NPC deaths

Fixed the criteria for deciding whether a given ID is an actual
characterID or maybe a typeID.
Enhancement: Use correct moonID in IDFeed whenever possible

The moonID in IDFeed was set to a constant value of zero. Now the moon ID
gets correctly determined whenever possible and added to the feed.
Enhancement: Get images CCP image server via SSL

Changed the constant image server URL to include the https scheme and
removed the hardcoded http scheme from the image URL class.
Fix: Handling of https scheme for image server URL

Fixed handling of https scheme for image server URL when NOT using CCP's
image server directly but only fetching images and caching them locally.
Enhancements to Memcache caching

Changed the default expiration time from "never expire" to 12h (with 5%
variance). Added option for flushing the memcache if it's enabled,
connected and supported by the PHP version.