Modernize the template classes.
Fix some byte swapping on the Fracts, Fixed, and date data types in the template editor.