Issue #930: Add support for collapsed/refinable subcategories.

Added new Java class for conditional sections. Changed the behaviour of yes/no/na pickers to expand terms, if forced expansion is allowed.
Commented out a line of code causing a bug, which could potentially introduce other bugs.