Accept array and StdClass as form $resource (close issue #1)
Fix collection_select method