UK: use a datetime object for submission_time and mock_time
Revert "UK: first record in result tends to be None, ignore it in returned results"

This reverts commit 8ab8e25aefa40c1bb30fc1c326287297fd19ded8.
UK: pep8 cleanup