User's statistics about languages written in

Reworked user statistics creation. New SQL query. Two costum JSON
serializers. /statistics now returns JSON list in format "language" :
count.