Switched to usng HttpStatusCode for status codes in Rest API.

In addition if the return from the processing is a Rest obejct then
the HTTP response code with be that of the Rest status code.

This addresses issue: https://github.com/NyxStudios/TShock/issues/660