improve python3 compatibility
Move nosetests config to rc file so the directives are always followed.