This adds a '-p' switch to addhost.php and a select box to the WebUI to set the port association mode for newly added devices. Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>