Partially parse command line during __init__()
Release 2.10.2
Include sys.argv[0] at the beginning of the cleaned-up sys.argv

fixes: #1516

Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Merge branch 'release/2.10'