fix critical bug which allowed use any character in hostnames. Also, fixes #20

Conflicts:
	ddserver/resources/templates/addhost.html
bump to bugfix version 0.1.3