Added attr_get methods via AttrGet trait.
Added several curses environment query routines:
  baudrate, erasewchar, has_ic, has_il, killwchar, longname.

What is left: termattrs (and/or term_attrs ?), termname.
Threw in a sample use of longname, mostly to see what it does.