changes from Percy
@Raisins good catch on easy debugging in the future
.id to .pk
Merge pull request #528 from willum070/percy

changes from Percy
adds reinstate button
fixes logic so participant is included in query
Merge pull request #532 from Tivix/feature/fix-auto-submission-metadata

Fix auto submission metadata
fixes notification sending to denied participants
fixes dataset.pk to be string...
Merge pull request #533 from Tivix/feature/fix-notifications-emailing-all-participants

Fix notifications emailing all participants
merges master
removes console email from base... can do it in local.py
Merge pull request #534 from Tivix/master

removes console email from base... can do it in local.py
merges master
Merge pull request #531 from Tivix/feature/reinstate-button

Adds re-instate button, so you can restore revoked privileges