Better testing setup.

- Added test.sh using nose with coverage support.
- Added test for tree's __getitem__
Merge pull request #9 from dbrgn/testing

Better testing setup.