Button icon span

Working branch right now up for functional review for button re-write demo at http://view.jqueryui.com/button-icon-span/demos/button/

Spec: http://wiki.jqueryui.com/w/page/71756381/Button
I wonder if a nested if/else would be better, to avoid repeating the key check.