[SQL] SPARK-1424 Generalize insertIntoTable functions on SchemaRDDs

I don't think this is quite done yet, but want to hear what people think about this API.