Added a DELETE operation, and cleaned up the code a little. Added a new test script also
Merge pull request #1 from mcjimenez/master

Added a DELETE operation for the unregister, and a test script