Implemented FORGE-805

Hi

This is my first attempt at submitting a change, so my apologies if I've made a mistake.

I like Forge but want it to support inheritance of my JPA classes when scaffolding for faces.  This change works, and I've added a test to check it.

Greg