DRY up the logic to create new property classes.

Take some code that was duplicated in both the PropertyParser and
Format classes and move into a method in the Property module.