Fix auto-generated endpoints text

Before:
    /endpoints:prefi

After:
    /endpoints/:prefix
Fix typo [skip ci]
Generate the string more cleanly
Merge pull request #98 from travis-ci/ha-fix-doc-endpoints

Fix auto-generated endpoints text
update travis-core