Detecting Arbitrary Planted Subgraphs in Random Graphs