Inline the APC mini source into one file.

This makes for easier testing and distribution.  I'm not inlining the _APC library
itself yet.