Allow passing parameters to association "has many"

Also added test for calls to .all