Added SolrService.delete(pid)
Don't cast class unless the class exists
Add a TODO about delete requests
When doing new with a string, it is an id. Thus it needs to be transformed to a URL before calling super