Refactor LoadAllSeries so that we could test error conditions

Also write a couple tests for CreateVotingPool, which had no explicit tests
whatsoever.
Fix a few things as per Lars' review
Merge pull request #59 from gsalgado/task-1223

Refactor LoadAllSeries so that we could test error conditions