Merge pull request #1635 from kbidarkar/prd-sync-now

Added support to sync repos via the repository page.
Fixed the way the tests are asserted.

Earlier I was testing with sync_status page, but now we are
asserting it via the product tasks tab.