Remove xc user files and add .gitignore
Copy layout attributes before returning.

So that subclasses who modify return value do not affect our internal state.
Update podspec