Support maximum length of STRING rw variables

Starting from NUT 2.7.1 upsrw publishes also the maximum length of STRING rw variables: use it, if available, to tell whether a user-provided string is acceptable or not.
Update manual (text only) for maximum length of STRING rw vars