Use six.moves.urllib.parse to replace urlparse

Import six.moves.urllib.parse as urlparse for python3 compatible.

Change-Id: Icc6dc92c4d4016b8a4f1118220a51415d2b5feb0
Closes-Bug:#1279611
Merge "Use six.moves.urllib.parse to replace urlparse"