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
Fix bug in loading session with fasta as genome

Only would affect users if the relevant fasta were not in their cache/user-defined-list, so probably not that many
Merge remote-tracking branch: upstream/master