Fix pep8, coding, unsed import and operator "is" 

Hi @tarruda 

I fix some issue to be compliant with PEP8 and Flake8 tools, see:
```
remove unused import
fix local import with "from . import" syntax
To compare with None, only use "is" operator
Add coding at the beginning of each files
```

Travis-ci test is ok with flake8 verification.

Regards,
Again, if you're certain this isn't part of the API, why not entirely remove it?