disabled pep8 test in travis
removed some print, now using logger
fixed maclearning with better logging and SWITCH_PORTS constant
Merge branch 'fix-maclearning' into devel

* fix-maclearning:
  fixed maclearning with better logging and SWITCH_PORTS constant
minor logging changes in maclearning