Added make-host-template and install host package during upgrade

moved get_domain_fromregistry to setuphelpers.py
bugfix in build_depends about MAX_DEPTH
read wapt_server ini config
renamed check_files_sha1 to corrupted_files_sha1
bugfix dependencies installed after metapackages
allow a list of PackageEntry to be used as argument of Wapt.install
install host package during upgrade if available and not yet installed. do upgrades after this.
makehosttemplate function to create a template of host package with currently installed packages.
bugfix import socket in setuphelpers.py
renamed getcomputername to get_computername
added get_hostname for fqdn

added wincomputername and windomainname
bugfix check ssl signature