move main lib outside test project (fixes pip install from github and makes more sense)
fix bug in descriptor view, update views to use render shortcut (avail since Django 1.3)