Refactored parseCSL'/parseCSL to be pure.

Added separate function localizeCSL in Text.CSL.Style to merge locale
with the defaults in the CSL file.

Export parseCSL' and localizeCSL from Text.CSL.

This allows us to avoid the use of unsafePerformIO in the FromJSON
instance for Style.