Add some code to associate extracted function names with the libraries that they belong to.
Add some code to associate extracted function names with the libraries
that they belong to.

* build/generator/extractor.py:
  (scan_headers): new function to scan all headers
  (headers_to_libraries): new dict to map header names to library names
  (__main__): adjust the types of invocation

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion