Refactor Card Images plugin
pyflakes driven import cleanups