Extract duplicated code in setter creation

Eliminates all the duplicated code in RLMAccessorSetter I was complaining about. Could do something similar for the getter, but it'd be a bit uglier.

@alazier