Better user-agent strings and management.

Changed default user-agent to include api version.  Added add_user_agent and reset_user_agent methods to allow client code to add strings to track.