Class for extracting JS date objects from strings and automatically guessing their formats