Tabel#create_joins can use through relationship and correctly join two table instead of one. Added through_key in configuration of HasMany
Add test for HasManyThrough and some small fix