Python UI can show problems

Implemented the necessary javascript to load up a problem.
Math editor now gets focus on load (which the old version couldn't do)
Added ChanceJS library to handle our seeded random needs