Addresses #6908 Strip usernames and passwords from apt_repository filenames
Catch traceback caused by permissions errors during a local md5 sum

Fixes #6948
Remove debug line
Addresses #6908 Add a mode parameter to apt_repository
Don't turn complex args back into a k=v string for the synchronize module

Fixes #6951
Fixing unit tests for synchronize due to earlier changes