minor syntax change
Start off with the UNIX epoch rather than None so it's always a datetime object.  In reality we're going to be setting last-master-contact shortly after startup anyway.  This also keeps the tests from breaking too.
adding new key to tests
rename master_contact -> master_contacted for a little better clarity
master_contacted should only be called once we have the agent id
...and it should happen before starting the scheduled tasks