Policies have been created for common SOP classes (as well as a more comprehensive default whitelist). Policies should now produce (very close to) DICOM standard compliant output.
A Validator has been added which uses a combination of VR-based validation, along with looking at some important tag values to produce a warning list. The warnings are returned as a dictionary with the tag string as the key. Warnings can range from priority 4 (informational) to priority 1 (critical). Warnings with a priority of 1 mean that the application was unable to remove all patient information. Example usage can be seen in the index.html demo.
Series/Study structure should be maintained across files. This has been true for tests on my reader but it would be handy to double check.
This pull request includes the following changes: