Make logan python3 compatible
use nose instead of unittest2
test with python3 in travis
fix flake8 error
Merge pull request #16 from netsyno/master

Python 3 compatibility