Changes to handle uploading of xmi files
Adding in fix to handle policyId for diagram context. Fixes diagram
compare issues
Merge pull request #101 from ahajirnis/xmiuploadissue

Done and reviewed.