turtles all the way down for NullCallableString()

allow term.color(5)('shmoo') to succeed for terminals where stream is
not a tty.
resolve any 'must call (at least) setupterm() first' errors

avoid calling tparm when self.does_styling is False, which resolves
issues with attempting to use things (such as nosetests progressive)
where the terminal is not a tty.

its also a "pokemon exception" and is emitted for a good reason, we
certainly should not be calling tparm without calling setupterm()
first !
only perform color lookup for colored terminals
Revert "Merge remote-tracking branch 'origin/bugfix-3' into bugfix-1"

This reverts commit 6d8fe019be1e1c1bd1238980288e1451d99eba80, reversing
changes made to 4cff579fbf395e7cfe3d12cb1b5f53ca535d6673.
docfix: 25 x 80 -> 24 x 80
Remove fallback to 24x80, and fix docstring formatting.

There are some advantages to falling back to 24x80: for example, the ability to easily render output based on height and width when being piped through `less`. However, that's a backward incompatible change--we explicitly documented the None return values in earlier versions--so I don't want to make it lightly. Reverting it for now because I want to get the unquestionable parts of this merged in.
Update version history.
encode tparm output as latin1

as explained in the comments above the decode().encode() wrapper,
certain terminal kinds, such as 'avatar' or 'kermit' emit 8-bit bytes
that are not legal utf-8 tender. this issue is resolved by encoding
these values as latin1, which leaves their values unmolested. This is
exaplified by a gist: https://gist.github.com/jquast/5649654

If you don't believe me, try kind='kermit' or kind='avatar', along with
t.cup(n, n). Unfortunately, the state of the test cases in the master
branch (issue #33) does not allow to add a test case in this branch
until that one is pulled to master.

Hell, I'll go ahead and make a third (and final) pull request for that one,
Tweak comments and update version history.
implement keyboard-awareness

awaiting feedback from Erik Rose.

Yet to remain:
  - example code within README.rst
  - bugs ?!?