add python34 to travis,

add 'test' and 'develop' targets for setup.py
term.keyboard_fd = None if stream is not a tty