Fixed entities.

    - OneToMany to ManyToOne relationships
    - added list of RatingCategories into InstitutionType
    - other small changes and better code readability