more odf.Formatting.StyleData/AppliedStyle typing instead of Object

Similar naming of the variables (as opposed to prefixing one with "sub") is the a decent way to do this. Renaming the function to ``areStyleAttributesEqual`` probably helps clarify the next part.