Fix android device detection when connected to a remote emulator (in this case device name contains ':').
Use $(CFG_ADB) for all adb invocations.
Restore Writer.write_char, see #10861.
etc: licenseck: don't hardcode a specific year
auto merge of #11307 : vadimcn/rust/test-adb, r=brson

Fix android device detection when connected to a remote emulator (in this case device name contains ':').
Use $(CFG_ADB) for all adb invocations.
auto merge of #11310 : Dretch/rust/write_char, r=alexcrichton
auto merge of #11314 : adridu59/rust/patch-license, r=brson

- don't check for an hardcoded copyright claim year, check the 2 surrounding strings instead
- logic: if either the `//` or `#`-style copyright patterns are found, don't invalidate
- cleanup hardcoded content and streamline the few files with different line breaks

r? @brson