Created a lease service to generate new lease timestamps.

AFDP-184
Updated the lease command to use the new lease service.

AFDP-184
Changed update status command to set the lease when it goes to pending.

AFDP-184
Changed JS to wait 1 second before sending a lease request.

AFDP-184