Add apl_entry sanity test
apl_entry: Add apl_destroyentry function

For gradebook entry cleanup