fixes and tests issue 495
Update python driver version to 1.4.0-1
recreates atNnN's lost python makefile fixes
Merge branch 'bill_issue_495' into next