First examples
clean up examples:

* 2 space tabs
* remove explicit TREB mentions
* simplify code (no threads or json)
* remove duplicated client login code from other examples
Merge pull request #72 from estately/examples

Add code examples