A test framework for verifying concurrency anomalies

Good idea; changed everything to use int64 and integer values stored in the DB. The environment maps are now map[string]int64.