Fix bug about checking type of datasource
Merge branch 'dev' of github.com:shymonk/django-table into dev