Permit bind_as() on class only, and dup the class properly.
Always update settings.DATABASES when calling bind_as().
Merge pull request #4 from mgorny/bind_as-fixes

bind_as() fixes