add Object#try (from ActiveSupport)