Changed code for CREATE, DELETE to 201 and 204

Changed the default behaviour off successful request for CREATE and DELETE to respond with 201 and 204 respectfully.