Added support to sync repos via the repository page.

This required tweaking the existing `assert_sync` function at,
ui/sync.py to sync repos via the repository pages.

Added tests to test all the repo types 'yum', 'puppet', 'docker'.
syn.sync_rh_respos?