apply setters on objects of an array

added test for apply setter on each object of array
check for available setters
Merge branch 'master' of git://github.com/yl2chen/mongoose into 1721