Add Android header lists.  scansys.py now supports passing options to compiler.

Also, scansys.py will now do a smoke test to make sure the selected
compiler works, before wasting a lot of time probing all the headers,
and some state that was threaded through all the functions has been
factored out.