Add configurable project & group validation

This will help make retrofitting Karaage onto systems that don't already
implement these limitations easier.

Change-Id: Ic20ad2a22c24c6d44494aa0193d4b993648ffd05