added ability for schema printer to be aware of inherited decorator properties

@Dantemss this change isn't as bad as it looks -- a lot of diff because I indented a big section inside a new loop.