Adding support for DAP Analytics.

The main layout page now has a placeholder for the DAP
analytics. If it is defined in config/settings/analytics.js,
it will be enabled.
Merge pull request #455 from DavidEBest/devel-dapanalytics

Adding support for DAP Analytics.