Adding ApiController.Validate : Fixes #1286

cc @rynowak