SemaphoreManager: Call __toString(..) if the object supports it.
SqlAdapter: Refactor to store dates in UTC, tweak invalidate(..) logic.