Refactored Store#deleteRecord to do url checking in rest adapter.