Refactored platform specific interfaces

- Moved everything into Platform namespace.
- All platform specific stuff new goes through PlatformFactory.Instance.
- Automatically load Direct2D platform.
TextBlock now measures it's text.
Merged text measure changes from master.
Make BrushConverter accept #color strings.