Fix various PHP issues in vpn.inc
Fix various PHP issues in vpn.inc

Also rewrite the method used to get DNS servers. It's still not perfect
but the old code had several potential problems like sending invalid DNS
servers to clients.

pfsense/pfsense,pfsense/pfsense,pfsense/pfsense,pfsense/pfsense