CMS-3393 Image Selector - Add support for keyboard usage

Updated Checkbox.setChecked() method, removed duplicates and optimized.
Added missing spacebar pressed event.
Merge pull request #761 from enonic/CMS-3393

CMS-3393 Image Selector - Add support for keyboard usage