Date and Number formatting

As requested, branched with only the code, along with just the root locale data. Extra locale data has been removed. 
(See also pr #348  which this is derived from.)