ENH: add `environment`, e.g. "longtable", to `Styler.to_latex`
checks an item off #41649 

closes #37443 

adds the longtable template, similar to DataFrame.to_latex.

also allows for a custom environment if \begin{table} should be replaced by \begin{figure} etc.
