Fix bug: Template LEVEL and HD tag application problems
* Correct math error on HD range
* Check any added templates for HD and LEVEL entries
Issue#: CODE-2392


git-svn-id: svn+ssh://svn.code.sf.net/p/pcgen/code/Trunk@22415 ef53c05b-3124-4d59-ae7d-fe3273f42be7