Feature/ui add sshuser

 * adds `sshuser` field to imagetype provider form ui.
 * refactored corresponding JS to be more readable.

Fixes #366