more appropriate error message status codes (.NET)

throw a 400 (and more specific XML parsing error)
throw a 400 for no url as well.
invalid XML should be a server error

changed 400 error to 500 error.
Merge pull request #9 from jgravois/master

Improve error message status codes (.NET)