Stop reactor even if post_update failed
Stop using Agent.quit() as signal handler

Use dedicated signal handler instead
Only log out if agent_id known, otherwise quit
Don't count stop attempts, instead use a timeout

Instead of  counting shutdown attempts, use a timeout to eventually shut
the agent down even if we could not logout from the master.
Command line option for shutdown timeout
Add missing period
Switch to utc time internally
Use http_retry_delay() instead of random()
Clarify help message for command line switch
Consistency in specifying argument type
Fix the help string for an argument
Return the correct path when caching elsewhere.

When the cache couldn't write the jobtype class to its intended
destination and writes to a tempfile instead, it should return the path
it actually wrote the class to instead of the originilly intended one.
Merge pull request #86 from guidow/jobtype_cache_bugfix

Return the correct path when caching elsewhere.
Merge pull request #85 from guidow/fix_help_string

Fix the help string for an argument
_uuid -> uuid, this attribute would be used outside the class too
Remove asserions, the job type should really check these.  At least make sure it's an instance we expect though
Merge pull request #84 from guidow/rework_shutdown

Rework shutdown