Make DeletionPolicy a resource attribute instead of a property

Copy example template changes from Idb0d275c44661db341f693d9d80629661d66c7ac
Ref bug #1160779

Change-Id: Ic86473d26778ac601599d2f4e39162a3eb479b9d