create SPObject factory
Update to experimental r13565
Add selection sets
Start cleanup for merge into trunk
Added a few swatch related functions (does not compile)