Using Tracker magic for reactivity for a problem's activeTo timestamp

Will check every minute so the UI is automagically updated when it is no longer
possible to submit answers to a problem because it is no longer active.

Also migrated some code from CoffeeScript to JavaScript.