Add gstime, tests, and docs.

Refs #162