type checking for template parameters and add extension restriction on them. 


git-svn-id: http://umple.googlecode.com/svn/trunk@4516 6ebf9d09-8eb1-0036-9d08-68c07d1b990a