visits_by_country returns hash with integers, solves pie chart issue

- visits_by_country uses ActiveRecord methods in user.rb
- pie_chart.js.coffee adapted for hash coming from controller
- user_test.rb updated