Import guardtime and libguardtime from trunk.