made Xwt.Drawing.Context, Image, ImageBuilder, ImagePattern, LinearGradient, Gradient, TextLayout staticless and MainRegistry-independent