Changed calculation of completed

Using the new values translated_entities and untranslated_entities to have a calculation that take into account that resources have different weight. Now the percentage will show completed of basis of all strings in a project.