Bug 841766 - We should warn users when magical require is used

https://bugzilla.mozilla.org/show_bug.cgi?id=841766

Still a work in progress as I haven't found how to avoid these deprecation message in `layout-change` and `require` test addons that are explicitely using old require paths to ensure that the mapping works...