[feature/api] Added API flag to posts

Added a way to know if a post was made using an API.
TODO: Add icon to posts made by the API for moderators
and administrators to see.

PHPBB3-11595