Make localhost work on remote devices. Closes #616.
Merge branch 'master' of github.com:nprapps/elections14