Take care of the loops reported for OpenVPN in tap mode. Also fixes the problems of tap disappearing from bridge if its a member.
Forgot to remove the problematic part from previous OpenVPN loop fix commit
Also add similar checks on rc.newwanipv6 as in the v4 version
fixing typo for GIF tunnels to work over IPv6

the call of get_interface_gatewayv6() in the creation of a GIF tunnel over IPv6 leads to a "Fatal error: Call to undefined function get_interface_gatewayv6() in /etc/inc/interfaces.inc on line 934". changeing the function call to get_interface_gateway_v6() fixed it for me on my local system.
Nowdays there is no real difference between the kernels apart the ZFS support. So do not keep a distinction anymore
There is no need to make distinction in kernel anymore since they are the same nowdays and it does the right thing(tm) most of the time
use email from CA creation also as the default for server cert
tls-verify requires quotes around the command to be executed. Ticket #3596