Improve field mapping in __setattr__()

The `Model.__setattr__()` method is receiving a much needed update that will allow it to update fields in the internal document using either the `.` or `__` syntax. It's similar to the change that was made to `__getattr__()` in 91906b7.