Raise assertion error if calling .save() on a serializer with errors. Closes #2098.