Silence warnings when selenium is not installed

While at it, fix the import of selenium.webdriver.common.exceptions to
import from selenium.common.exceptions instead.
Merge pull request #24 from akheron/silence-selenium-warnings

Silence warnings when selenium is not installed