Move config to Hiera, allow additional configure flags per PHP version via Hiera, add pthreads extension.