Restore CGenericAdapter, now called CFakeAdapter

This is needed to resolve Issue #113 

Li Feng, if this works for you please have Stephen pull it into master; otherwise, let me know what's wrong.  Should be pretty much the same as before.

You do still need to use an adapter configuration file; here's a sample: https://gist.github.com/4342764

Happy Wednesday