Added onSync(fn)

Function to be executed when syncing rivets, at the beginning before the
bindings are synced.