Support for WAR classpath entries and issues around DDL gen

These two commits focus around:

- a WAR classpath entry that ends with .war!/WEB-INF/classes - 
- SQL DDL generation for some things generates the code multiple times - particularly if you are using the same generator multiple times (as in a base class). Irina wrote this code.