Refactoring and minor performance improvement in DotNetNuke.HttpModules.Analytics.AnalyticsModule