Move PropertyBitField to a syntax extension.

This is a first step towards moving away the Mako template in the style crate.