An Active Learning Framework using Sparse-Graph Codes for Sparse Polynomials and Graph Sketching