Improved handling of empty values

Conflicts:
	multiselectfield/db/fields.py
Support for casting value to type added