Add port validator that takes Integer

Change-Id: I4d3d94c3dc60690a958a5b2fc8534c35c1f8b61e
Reviewed-on: http://gerrit.dmdirc.com/3590
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
Add license header to utils project.

Change-Id: I85ca606d0da53102aaa751f2631fdad839bed850
Reviewed-on: http://gerrit.dmdirc.com/3591
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>