Finished implementation of validation rules for containers and links.
Added unit tests for validation rules. Modified policies to use
validation rules and created unit tests for the modified policies.
Closes #110