added api support via tastypie
Merge branch 'api'