Created abstract validation class

Created new Validation class in PKP lib.