Converted double timestamps to long long (64 bit integers), fixed bug with
updating agent timestamps.
Merge pull request #533 from ey6es/master

Converted double timestamps to 64-bit integers, fixed bug in domain server (was faiing to update timestamps).