Ported chosen from jQuery to YUI

Using the jQuery version's structure ported over all functionality of
chosen.