Update Scalr classes

The current version now supports the BEST_FIT_BOTH mode, which is
needed to cleanly implement the bitmap viewer component. Now I can
delete the scaleProportionallyFromTo method in the UITools that I
created – it essentially has the same effect as the BEST_FIT_BOTH mode.