Fix some items from second review.

Items are:

  * remove unused imports.
  * __init__.py: initialize variable before read from file.
  * backends/leap_backend.py: Fix mistyped exception name.