Fixes #3458 and #4504 - sync plans plus custom exception handler

CRUD actions for sync plans. There are 2 PRs that need to be merged first:
- https://github.com/theforeman/hammer-cli-foreman/pull/82
- https://github.com/theforeman/hammer-cli/pull/79