Merge branch 'release-0.3.9' into develop
Tidied up comments and debug lines in agendaManager closure.
Shifted iteration check in resetStatus of agendaManager into isComplete method.
Linked setInterval to variable so that it could then be cleared at disconnect and prevent Beth from looping through the agendas interminably.
Removed unnecessary variable and did some renaming to make things a little clearer.
Moved redoSnapshot method out of resetStatus to prevent confusion and use it as initialisation in agendaManager.
Refactored agendaManager to be more concise and efficient. Issues-wise, this should close #18.
Tidied up some commenting in agendaManager.
Created a quick fix for moveset so that only one message is posted each interval. Issues-wise, this should fix #33 even the code could do with refactoring later.
Added crude historical sorting to moveset forwards and to responses though some refactoring for the responses may be required later. Issue-wise, this should close #31.
Updated test file to try out recent changes.
Added possibility for randomisation with reference to issue #34 though this is not yet a last resort.
Removed TODO comment regarding flags; decided flags should only be set on those responses which are actually used, as this is more predictable. This should close #13.
Bumped version to 0.3.10 and updated documentation.
Merge branch 'hotfix-0.3.10'