WPF: Added concept for memory graphic contexts with a factory. Added WaveFormCacheManager from iOS and made it generic; not tested yet. Added WaveFormScale generic control; not tested yet but rendering now fully generic.