Remove unused imports and fix import sorting using isort utility.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>