Add get_scale_extents API to core library
AppKit frontend now sets ScrollView to utilize CanvasView's magnification extents