Rename SQLQueryFactory to SQLCommonQueryFactory #673

Copy SQLQueryFactoryImpl to SQLQueryFactory
Deprecate SQLQueryFactoryImpl