Complex regexp worked exactly as intended...

http://devopsreactions.tumblr.com/post/43636741338/complex-regexp-worked-exactly-as-expected

Enable / disable the node input field on the prefix add/edit page based
on if the new or existing prefix is a host. This includes a huge regexp
which worked almost on the first try ;)

Fixes #269.
Merge branch 'node-field'