Move log manipulation to Perl package

The log manipulation is moved to Perl packages in case we ever need to
do something more complex with the logs.
Turn application into a simple Dancer app

Replace command line access with simple web access. Accessing the
results through a HTTP server will make the D3 portion simpler.