Improved GuiBitmapCtrl console methods

Added getImageSize that gets the width and height of the bitmap image
set.
Changed setBitmap to use the new script API.