added timezone for active record
added json output for categories
improved ison output for students
added rake task to import data from json
refactored some parts in page stats
made group id for categories non-optional