Recursive delete for Module + REST + RPC services

This PR includes the recursive delete option (passed by query string with `recursive` parameter) for the Module (API), the REST and RPC services.