- update setup to use more generic configuration
- use django 1.9+ for tests
- don't use SubfieldBase as its removed in django 1.10
- remove unneeded unencrypted_max_length
- remove unneeded new length calculation
- Raise an error in settings.py only when encryption key is None
- Fixed an issue in getattr for encryption key