Document Formula attributes.

The beginnings of some decent API documentation.

Also, tweak `.yardopts` to better fix our internal style.
formula.rb: add install method.

Mostly for links in API documentation.
formula.rb: make some methods private.

Don't seem to be used publicly anywhere.

Closes #34729.