Update #serializeProperty and #serializeNestedResource

Now using Ember.isArray and Ember.Object.detectInstance