Add textarea automatic resizing

(copy of closed pull request - changed target branch from 1.5-stable to develop)

Previously, on viewing the edit page for a host or a hostgroup, on the Parameters tab, the height of a parameter value would be calculated by the number of newline characters in it, or by default, be set to 1.

To make values easier to read, this automatically resizes them to expand to their entire content (up to a maximum of 100 pixels) when the Parameters tab is clicked.