add code format/style test and fixup code style
install flake8 with travis
Merge pull request #81 from catkin/code_style_test

add code format/style test and fixup code style