every Tom, Dick and Harry
Tom, Dick and Harry is a way of referring generally to ordinary people that you don't know.
Example: You don't want every Tom, Dick and Harry to come to the party.
If you say that someone is out of line, you mean that they are not doing the right thing. David plays with this meaning and the literal meaning of not being in a straight line with the other graves.
To dig something up is to remove it from the ground.
Example: She decided to dig up the old rose bush.