Models that depend on other models and behaviors for component visibility/enabling based on models

Backported to 6.x branch from pull request #357 -- https://github.com/wicketstuff/core/pull/357