feat(rivets): add support for Backbone collections in rivets adapter

Also adds support for executing functions from the adapter.