BISERVER-9192 - Make the icons/images themeable via css

A bug in the ImageButton class was causing a strange experience with the buttons, cause the CSS classes were not always in sync with the buttons real state.