Implement 'ApiFormatHighlight' hook

Core change I04b1a3842 adds a hook to allow extensions to
syntax-highlight the pretty-printed output from the API.

Change-Id: If0413a1d922ff8a47afc355e0a2cc276cf54b400
Merge "Implement 'ApiFormatHighlight' hook"