Start to changing logging method for flexibility
added doctests
Merge remote-tracking branch 'origin/master'

Conflicts:
	edx-dl.py
does not need to show log severity