Add common validators to library

This way simple validators can be reused instead of littering models with tons of similar lambda functions