Added logic to remove sub fields when changing parent field type

https://github.com/AdvancedCustomFields/acf5-beta/issues/242
Signed-off-by: Elliot Condon <e@elliotcondon.com>