Make time class threadsafe, and fix the requires on the gemspec