Implement mw.log.warn and mw.log.deprecate

Change-Id: I1eadd01d7086aecb1bdf7e950c49778fd63b5414
Merge "Implement mw.log.warn and mw.log.deprecate"