rnamed names, edited style. bug fixes.

1. changed namespace to curstream so curses_stream could be used to the io
   stream, following similar names to other io streams.
2. template implementation was moved into seperate headers.
added gitignore
makefile for examples.