remove in draft status when we revert to a previous branch. fixes #624
get rid of the bug where we try to generate an index when there are no live revisions in the specified year
Merge pull request #684 from unikent/bugs/draft-and-modules

Fix in-draft tag not disappearing