Actually include mode in mode log
Include template name in precompile error message
Fix knownHelpers merge
Register the amd plugin
Debug log AMD depdendencies.
Protect from missing platform amd cache

This case can occur when there are top level-modules defined as these
are independent of the base amd cache.
Special case top-level amd naming and dupe check

If a file was defined by logic outside of the amd plugin then we want to
let it pass through more or less untouched.
Ignore non-file resource types in amd plugin
Ignore global resources in amd plugin
Include resource name on AMD parser error