Port run-tests.sh to Python
Parse command line earlier and fail if there are duplicate tests
Port or delete memcache tests
Remove unused arguments
Update the list of failing tests
fix some defects from review
Fix some old code in test/interface
Refactor rget test
Uncomment some tests
Merge branch 2235 into next

Closes #2235
Closes #803
Review 1421 by @Tryneus
Review 1428 by @danielmewes