wip moved hooks and validator from main project
using npm link for local pasties-validator