Do not invert solderpaste pad (twice)
Properly handle soldermask and solderpaste generation
Cleanup
Fixed a nasty bug that applied rotation twice for objects on multiple layers due to lack of deep copy of object