Refactor/rewrite vote counting & printing

A library has been created separating functionality into numerous pure
functions.

A test program based on this library and on the original bot has been
added.  It prints the vote times using a more compact time format.

It also discards duplicate votes based on which one is newer (older is
discarded).
Purify the library; add vote totals

(Instead of printing a table, return a string.)
format() is unnecessary
allow polling from, and posting to, multiple subreddits

the subreddits are listed in a file called poll-subreddits.txt

also moved all functions and constants out to Lib.py
gitignore config files and generated files
Merge pull request #1 from reaganveg/master

Refactor/rewrite vote counting & printing