Correct behavior of __setattr__()

This change corrects the behavior of `Model.__setattr__()`. By only attaching attributes found in `Meta.core_attributes`, `Model.__getattr__()` will properly be called whenever a field contained in the internal document is accessed.