Code Cleanup

- Removed dead code.
Code Cleanup

- Removed obsolete comments and code.
Documentation

- Added the taskd.key configuration setting to the task-sync man page.
- Added discussion of taskd.ca and taskd.trust options.
Feature #1423

- #1423 sync vs. push, pull, merge collision avoidance.
TLS

- If a CA is provided, it is used.
TLS

- Connected code paths to use CA or trust.
Diagnostics

- Added new server configuration settings to diagnostics output.
Documentation

- Added notes regarding the use of CA or trust override.
Documentation

- Updated task-sync man page discussion of different syncing options.
Performance

- Optimizes indexing into pending.data for direct task access.