Merge branch 'master' into FLUID-5200
FLUID-5205: added an onRefreshView event.

Added an onRefreshView event which will fire before rendering occurs. This will be needed for dynamically constructing the template resource text.
FLUID-5205: No markup displayed for inactive panel

The containers for inactive panels are hidden and their markup is not rendered.
FLUID-5205: removed unused options

removed unused distribute options.
FLUID-5190: code clean up.
FLUID-5205: support for dynamic subpanels.

Added support to allow for dynamic creation/destruction of subpanels based on model values; specifically preferences. Need tests and to update aux schema.
FLUID-5205: Renaming

Renamed fluid.prefs.compositePanel.subPanelCreationTiming to fluid.prefs.compositePanel.subPanelLifeCycleBindings
FLUID-5205: corrected syntax for modelListeners
FLUID-5205: Adding comments
FLUID-5200: removed the magic number
FLUID-5205: Modified the aux builder to accommodate the new definition for sub-panels in a structure as:
panels: {
    "always": ["subPanel5"],,
    "fluid.prefs.subPanel5": ["subPanel6"],
    "fluid.prefs.subPanel6": ["subPanel7", "subPanel8"]
}
Merge remote-tracking branch 'cindy/FLUID-5205' into FLUID-5205
FLUID-5201: Added an isActivePanel function

The isActivePanel replaces the isPanel function testing the actual component instead of just some set of it's options, which may not include all of the configuration.
FLUID-5201: Updated the isPanel function

Updated the isPanel function to handle more configuration options, including those supplied through gradeNames. However, this still may miss some configuration supplied and should only be used for cases where isActivePanel cannot be used.
FLUID-5201: Removed another call to fluid.defaults

Removed another call to fluid.defaults by making a utility function to try to prefetch a components options.
Merge remote-tracking branch 'justin/FLUID-5200' into FLUID-5190
FLUID-5201: cleanup.
Merge branch 'FLUID-5200' into FLUID-5205

Conflicts:
	src/framework/preferences/js/Panels.js
FLUID-5205: Updating selectors before rendering.
Merge remote-tracking branch 'cindy/FLUID-5190' into PFID