cf-dc-api.pl: add selftest command
howto/dc_api.md: fix Markdown
Merge pull request #412 from tzz/feature/api-selftest

Feature: API selftest