Moved the non-public enums into the URITemplate class to avoid naming clashes.

The subject says it all really.