Invariants of Links and 3-Manifolds from Graph Configurations