Changed the relationship between person and person type

Person can now have many types. Written some code in the data layer so
when an insert or delete happens, the child data is deleted before the
parent data.