factory is not needed
Tweak notice formatting
Remove ingo_shares global variable
Remove all_rulesets global variable
Move session initialization code to separate lib, since it is only called once per session
Unused vars
Not needed
Better determination of DB class name

Specifying the full class name will always be less work for PHP to
resolve.
phpdoc/coding style
These issues have gone away in later versions of Net_DNS2