completed implementation of delete action on API
added a few required status codes
Merge pull request #12 from muya/master

Completed API implementation of delete action