Implemented API call to delete application and menu

@Karthikeyan-V  instead of fetching the customTableValue object and getting application, Can you write the query in application hql itself ?