Multi option validation

This is just #2335 but for staging instead of master.

Fixes this: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32422&start=0