[ci skip] Added documentation for has_and_belongs_to_many scope parameter

Documented final association! Same as https://github.com/rails/rails/pull/16475 but for has_and_belongs_to_many