Team domain and integration token per project (moved from global settings)

This resolves #10.