add mixin test and update docstrings.
add ValueError test.
fix unit test.
pass dict instead of keywords; better semantics.
convert repo scratchpad set/update to be atomic mongo opertions.
Merge pull request #524 from pulp/jortel-repo-scratchpad

repo scratchpad