Fixed issue #12 Meta parents not being populated correctly.

 Updated resource meta class to ensure on generation of new type meta passes on their parent resources.
 Updated tests to capture this issue