changed public votes to append to voterecords

This lets votes be cast in fragments.

The update button is removed for JavaScript-enabled users and instead changes to the ballot are automatically sent via AJAX.
added new rows to database

Story and image scores and stdevs have been denormalised since reads are much more common than writes.
changed results.tt for new database structure
addded  cols to image and story tables
added mean and stdev fields to vote_records
moved image/story methods to Schema::Item from Schema::ResultSet
var rename
added logic for 'filled' variable in vote_records
nitpicking
nitpicking
nuked with_stats/scores methods
fixed previous nitpick
golfing
added recalc stats methods
now loading sqlite extension functions
removing test code from prev. commit
cleanup
updated makefile for extension-functions.c
used a proper Makefile for libsqlitefunction build
updated installation instructions