Bug 1046087 - Normalize line endings on Windows. r=wlach

We have found out that the output of Adb on Windows ends with
\r\r\n rather than \r\n. This abnormal line ending cannot be
dealt properly with python's universal_lines. Instead we
decided to normalize every line ending to \n.
Bug 1046380 - Print device root to standard output in dm client;r=armenzg NPOTB DONTBUILD