Add --api-metadata command line option

- New command line option prints the binary API metadata object
  and exits