Added a maximum timeout admin setting

The admin can now set a maximum value for the timeout field.
The form checks for this value and displays it in an error message
if it gets exceeded.