Moved shared validation code into pkp/lib
Merge pull request #88 from MichaelThessel/validation

Moved shared validation code into pkp/lib