Robustified /history/ queries.
Basic PM2 implementation.
pm2 runs off port 80 by default.
Merge pull request #12 from nwoodbury/master

PM2 implementation and query fixes.