removes extra non required sql statements in products index page

- unused queary to load all repositories
- n+1 queries to count repos per product.
Merge pull request #27 from ohadlevy/counter-sql

removes extra non required sql statements in products index page
first pass at repository sync status check
addressed some of the feedback in the PR
moved history/status-parsing logic into Content::Pulp::RepositorySyncStatus
updated based on PR comments
moar fixes based on PR comments