Replace dictionaries with tuples to make the OrderedDict behave correctly.
Remove the altering of the global button object as it was creating errors.
Add error 500 handler.
Remove inline trailing commas.
Add better state handling so that only one button is green after a success.
Merge pull request #13 from yola/fix_button_states

Fix button colours after success and failure