Diag DNS Lookup Dialog Output

Display DNS lookup results in a dialog box rather than browsing away from the current page (Dashboard Firewall Widget or Status: System logs: Firewall) to the diag DNS page.
Especially useful when filtering so that filter does not have to be reposted to return to the current page.
Merge pull request #485 from N0YB/Diag_DNS_Lookup_Dialog_Output

Diag DNS Lookup Dialog Output
Handle _stf interface in convertion from real to friendly. Also do no cal lpfSense_module function if not used
Properly tune rc.linkup for dual stack
Avoid trying to remove an invalid IP
Use get_interface_ipv6 on rc.newwanipv6 to and teach it to flush the cache on optional parameter. Also teach get_real_interface about the tedios ipv6 tunnel interfaces and return them when ipv6 family is specified
Use the new functionality on get_real_interface to get the _stf interface when needed
Do a check of interface existing
Try to remove as much as possible _stf special case through the code
If gatway is dynamic the type cannot be determined, trim the code trying to do something impossible. While here optimize a bit
Correct get_interface_subnetv6 and use get_interface_ipv6 during dhcp config generation. Also initialize some arrays to avoid warnings
Unset the ip from the cache to retrieve the right ip
Remove useless function calls
Thermal Sensors Widget (for pfSense v2.1-BETA1 and up).
Original post: http://forum.pfsense.org/index.php/topic,59193.0.html
Use proper interface for reply-to in case of 6rd/6to4
Define bogon tables where they should be
Do not cleanup states on this call
When reconfiguring interfaces with dhcp types set try to kill any previous dhcp process of the interface already running
Do not do useless work before needed
Remove not used call