dt_* code: added tests, updated graphics
closes #17
Merge branch 'master' of git://github.com/LeKovr/pgws