Merge pull request #14 from B2F/master

Adding support for optgroups
Not for now
Fixing a bug when triggering the selectItem method on a select containing optgroups