Camera: Generate HIDL metadata modules

- Add HidlMetadata.mako template for creating HIDL types.hal files
- Add necessary helpers and model properties to easily find sections and entries added in a given
  HIDL version
- Ensure the HIDL version also shows up in the first entry of each section in the camera_metadata
  C headers
- Add HIDL output to metadata-generate (though each new HIDL version needs to have a few lines added)

Bug: 33262893
Test: Verify generated HIDL output manually, build, and HIDL built-in sanity checks.
  Add a few test entries and sections with different HIDL versions to see that generated code is right.
Change-Id: I9ee3b0839bab4b3efed415dab4208bacdbad56b1
9 files changed