CMSVM-423 - Moving __setattr__ to validate() and adding a PENDING item state

Also added tox, and pinned unittest requirements.