Add doc sketch for type reference encoding
Add doc sketch for type reference encoding

WIP - @rjmccall and I decided a custom encoding would be best for
this.

khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift