NEW Added FormatFromSettings(). Formats dates as per user preferences.

- Required for silverstripe-cms/issue/965.
- Separate implementations for Date and SS_Datetime.