Fixes and updation for products and repository related  testcases.

1. Include use of factory functions
2. Added 2 new testcases to product and repositories test modules
3. Added support for `force_context` to forcefully set the org or loc context, when working with testcases that require working with multiple org, that is selecting/changing multiple orgs in a single testcase.
Speaking of style: I reformatted some of your comments at the top of this PR according to the [markdown](http://daringfireball.net/projects/markdown/) spec. Enjoy the delicious formatting.