Make a registry safe to access from multiple goroutines.
Merge pull request #27 from Medium/andybons/races

Make a Registry safe to access from multiple goroutines.