Only allow revisions that are still in the queue to be repacked.
Fix revision edit link.
Remove NOT_IN_COMMUNITY constant causing problems with 3.1 website.

The website header/footer are not used due to the necessary template variables
not being defined.