Fixes #4870, bz1113398 - Added missing foreign key associations

Also contains updates to association tests if foreign key constraints
are not defined in 'belongs_to' associations for all Katello models.
There are some formatting issues here like indentation and spaces around `=>`.