Implementation of JET templates for Java to add 'hasX' methods for 0..1 associations, per Issue 349

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