added database-query for get_categories_by_language
fixed referencing variable before assigning it bug: category_name
making all unicode fetched from mongodb utf-8 encoded
fixed a minor bug