die forcefully but gracefully on missing api templates
Merge https://github.com/friendica/friendica into pull