WW-3623 Extends id generation logic to support case when tag doesn't have id, key nor name defined and some generics fix

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1485592 13f79535-47bb-0310-9956-ffa450edef68