First stab at automated Selenium testing.

Part of #92.