Improved testing so unit tests are more independent

Reset preferences, genome cache, and genome list after each test
Fix bug where loading genome by id in hyperlink failed
Add logging statement to CommandListener