Self-text expando and comment max height

Relates to #1497.

~~I'm not sure how feasible it is to add the same kind of option for comment max height (as requested), since we'll have to deal with inline expandos (i.e. when an expando is opened, override the max-height style in the current .usertext-body element, and when an expando is closed check if it is the last one in this comment to be closed [preferably: check if closing it will reduce the comment's height to within the specified max height] and remove the override).
I don't know if that much work would be worth it.~~

**Edit:** This now applies a max-height to both text expandos and comments, and adjusts their height to the largest expando within them (and at least the specified height).

Tested with all expando types (AFAIK).
another style nit, because my js linter will yell at me:  strongly prefer full block if statements...

`if (foo) bar();`

becomes:

    if (foo) {
        bar();
    }

I know these are minor things, but I'm trying to eventually (over time) get all of the code in RES following a similar style guideline/standard.