Issue 767: ODataError should serialize ModelState errors.

Converting model state errors to a human readable string and putting them
in the odata inner error.
Cleanup build configuration/warnings.