fix setupterm() must first be called errors.

we were attempting to manually use tparm() etc. capabilities where force_styling was unset; when running nosetests and piping to a non-tty, does_styling was False, setupterm() was never called, and these such tests would throw a curses.error