Automatic web tests

Automated login and avatar tests with Selenium. Also created a wiki page explaning how to install and use Selenium to write automated UI tests.