Hoisting this out of lib in preparation for gem-ifying the project.
A little more tidying up.
FIX: Coverage analysis config was out of date.
Renaming for consistency.
ENH: Reorganizing, normalizing, and fixing a bunch of JS/template/config stuff.

* Variables always use '_' instead of '-'.
* Filenames suffixed with the type of integration involved (_feed, _sharing, _tracking, _badges, _comments).
  * Also, preferring '_' to '-' for filenames.
* Added example for S3 deployment configuration.
* Better namespacing.
* Separation of roles for different types of integration.
* Putting things in more consistent locations.
Restore clean/clobber behavior and be more consistent...
Tidying up.
Remove some duplicated code.  D'oh.
Change from '_deploy' to 'deploy' for deployment files.
Make user feedback match configuration for deploy dir.
Reorganize/tidy up .gitignore a bit.
Some rdoc corrections/updates.
Fix a mismatch between preview destination and deployment destination.
Switch from _config to config.
Tightening up docs a smidge.
Preparing for cascading theme dirs.
Whoops, tyop.
Tighten up docs.
Tidying up spec helper functionality, making it easier to write tests.
Adding a note for myself.