Update test to fix test of ChangeMessage migration to notedb

Added two helper methods to ChangeMessagesIT to change the
granularity of time to fix a problem with the ties in
timestamps for change messages. Additionally added necessary
dependency in BUCK file.

Change-Id: I5a22529bbb62450c98b2c7172a59abbe3ab7e32c
2 files changed