Simplify the logic for resolving callables, allow all `to_proc`-ables

For cases where we allow a lambda for dynamic content, we should accept
everything that responds to :to_proc. We exclude symbols because that
would break existing syntax.