added init_win for keypad

keypad needs the initial window created.
updated stream objects to match streambuf.
updated create example, with pass buffer
changed active_win var to win

collided with new active_win member function.
updated window_type typdef
static_cast charT to chtype

ncurses requires chtype used
added window section example sinnippts to tutorial
initial window example