Fixes #142  Renaming Tuple to Attribute. Making Tuple extend Attribute for backwards compability. Deprecating tuple.

Fixes #145 Adding getAlias(Class clazz) method to the TypeRegistry