Adds basic RequestValidator

The request validator can determine if a given request is valid or
invalid. It will be used by the dispather to determine if a 400 response
should be sent.