Preliminary architecture for upvotes models

Added some basic methods (set/getvote counts).  Vote class is not
complete and requires further discussion.