Add configure_input auto-generate string.
Fix indexing over teams and improve layout of array() call.
Fix SQL event insert query and refer to correct alternate
location in case of verification not required.
Rename FIXED_TEAM to FIXED_USER in domserver config.
Partial update to new JSON API specification.