NEW 'Import files & images to assets'
Update of field description
Docblock and coding styleguide fixes
Code cleanup and refactoring

No new functionality
NEW: Save imported files with the original path

This change also bypass the usage of the Upload class to simplify the logic
BUG inferred urls dont return a mime-type
BUG Bad duplicate page check causes infinity recursion in hierarchy
NEW 'Import files & images to assets'
- Cleaned-up the warnings and notices functionality into own method
- Added logging for failed URL rewrites to analyse what's failing
- Added some URL cleanup routines to the URL Rewrite task which improve the hit-rate as per data from the log
ENHANCEMENT: In-page asset URL/Path references are re-written correctly in StaticSiteRewriteLinksTask
ENHANCEMENT: Added basic logging for all URLs that couldn't be processed correctly
BUGFIX: Fixed regression on StaticSiteContentSource from ff6326213988
- Added better reporting of context for rewrite failures in failure log
ENHANCEMENT: Added check for existence of passed StaticSiteContentSource
MINOR: Inline docs and tidy-up
ENHANCEMENT: Improved the URL rewrite-log with totals broken down by type for ease of analysis
- Replaced individual item->getType checks from class transformers with `StaticSiteContentSourceItem#runChecks()`
- runChecks() also doubles as a duplication preventer for when many URLs with spaces etc, point to the same canonical URL
- Stripped redundant logic from `StaticSiteContentItem#init()`
- Added StaticSiteURLFaux DB field to `StaticSiteDataExtension`
MINOR: ToDo
- Renamed MimeTypeProcessor to StaticSiteMimeProcessor for consistency
- Added more comprehensive logging to content extractor and to both transform classes
- Moved log() method into new utils class to prevent repetition.
- Removed the pre-existing URL check on StaticSiteContentItem
- Removed all ref's to the 'FAUX' StaticSiteURL field
- Beefed-up the StaticSiteContentItem#getType() method so 'site tree' is no longer a fallback, types need to match
- Added log_file static where it's needed
- Reverted broken logic in f52d7263bea14bbe7f where duplicate folders in assets were created which eventually caused import to "just stop"
- Corrected method visibility on StaticSiteUtils#log()
MINOR: Tweaks to log-format
- Made the logging more acurate. Not so many 'unornamislable URLs' messages
- Added more logging
- Added to TODO