A family discovered a large waste dump, allegedly created by a South Australian horse racing club, as they began foundation work on their home, court documents allege.