Improve error message for invalid literals

@tgoyne 

Addresses #752 

Previous message:
> Object type '(null)' not persisted in Realm

is now:
> Invalid value 'nil' for property 'name'
Correct.