get tags in correct order, ignore case for head labels, &c.

- when getting tags from transformed trees, pay attention to order
- ignore case when looking for head marking in function labels
- print mismatched test/gold POS tags in correct order