freifunk-gwcheck: make it more readeable and make compat with smaler ip version without short forms

git-svn-id: http://svn.luci.subsignal.org/luci/trunk@9882 ab181a69-ba2e-0410-a84d-ff88ab4c47bc