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-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-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
Merge branch 'FLUID-5200' into FLUID-5205

Conflicts:
	src/framework/preferences/js/Panels.js
FLUID-5205: Updating selectors before rendering.
Merge branch 'master' into FLUID-5205
FLUID-5205: Added unit tests

Slightly refactored the code to address issues fount while writing the unit tests.
- typos
- was passing in the event name instead of the fire function
- had to move the renderOnPreference option down to the sub panel
FLUID-5205: Renamed LifeCycle to Lifecycle
FLUID-5205: renamed assertions in test
FLUID-5205: dynamic gradeNames are now unique

Used fluid.allocateGuid to append a unique identifier at the end of each dynamic gradeName.
Also fixed some typo's in the comments.
FLUID-5205: switched to fluid.isPrimitive
Merge branch 'master' into FLUID-5205
FLUID-5205: fixed location of renderOnPreference

The auxbuilder had been putting the renderOnPreference configuration in the top level sub components configuration, but it had to be moved down to the options due to restrictions on configuration that can be supplied. This has been addressed and a new integration test added to the builder unit tests.
FLUID-5205: refactored create/destroy

Refactored the handling of the model changes for creation and destruction of conditional sub panels. Now all of the conditional panels for a given preference will be created/destroyed before refreshing the view.