Fix lint to work with the new style system.
Better error handling for style properties.

When a style property is invalid, we report the name of the
style and the name of the property.