Use Python to get user timesheet.log file

Also tidy up import directives.
Move log file input into workinghours package
Add more tests for log file input