ContactsProvider2 optimization: end-of-tx contact insert - switching to compiled statements and reusing buffers.

Stats: 
Baseline:  889 yield points, 75 ms per yp,  objects: 1047 per yp
Optimized: 889 yield points, 72 ms per yp,  objects: 964 per yp

Bug: http://b/2208650

Change-Id: Iec3596a18e5a0cc614a16a9aab016a02ad4e55e6
2 files changed