Convert references to SpecRef, with different output for CG and WG
Merge pull request #161 from foolip/specref

Convert references to SpecRef, with different output for CG and WG