Manage user/group IDs, add rsync options management, import debian keyring.

Hello,
Here are a bunch of patches we had to implement, you could be interested in merging some of the commits.
Thanks!