Use six.moves.urllib.parse instead of urlparse

To keep Python 3.x compatibility, use six.moves.urllib.parse to
replace urlparse.

Partial-Bug: #1279611
Change-Id: I271d492a501a2d2fce2980e11ce6f03b7b9f878a
API: Expose a way to start/stop the console

Expose in the api a way to get information and start/stop the console.

Change-Id: Id5fed9610aa34b853929ae380543d097b78fa21d
Implements: blueprint serial-console-access
Merge "API: Expose a way to start/stop the console"
Merge "Use six.moves.urllib.parse instead of urlparse"