Tell filterdns to reload the config rather than restart if its running
Minimise rewriting of /etc/gettytab

See forum http://forum.pfsense.org/index.php/topic,57325.0.html
Avoid possible problems with having a partial /etc/gettytab file by not rewriting it at every boot.
Move to varrun_path for consistency
Move to varrun_path for consistency
Simplify lighty config and tune mod_evasive as needed. Mostly a cherry-pick from RELENG_2_0 changes
Use rtrim to avoid issues
Make is_pid_running function return more conisten results by using isvalidpid
Avoid duplicate log entries for facilities higher or equal daemon.info. It should fix #2626
Pass -S to tcpdump to avoid an increase in memory consumption over time.
Always make sure php has its own process manager to make lighty happy
Be a little smarter about the default kernel in rare cases where we cannot determine what was in use.
Ticket #2063 Do not enable apc on less than 135MB ram
Remove obsoleted file as well
dynamic dns update url for dns.he.net fixed

Added curl option to use IPv4
Updated url schema
Always commit the session fast to allow other consumers to proceed to their requests. This unbreaks now the lock up the GUI had allowing only one action from same source per time. Now even if you run a command that blocks indefinitely for example the GUI want lock anymore but allow you to proceed to other actions
Welcoming in 2013
Remove unused function
Obsolete /etc/inc/cmd_chain.inc
Remove to parameters from system_generate_lighty_config that are unused and do a better job at tuning started php processes to not use less/more than needed. This also avoids DoS the system with php processes
Slight code re-organization