Gem integration improvements

- Auto-scan loaded gems for missing headers
- Add support for %include_dir gem:foo