title: Scale NSView centered
body: <p>I need to scale an NSView around it's center. 
  I tried using CATransform3DMakeScale and it worked to scale the view towards it's corner but I couldn't achieve to center it. I tried to set the layers anchor point to .5, .5 but that didn't work.
  I tried using scaleUnitSquareToSize but I ran into the problem that this seems unresetable without a lot of work.</p>
  
  <p>In the end I need to be able to set the scale of an NSView to something like 0.8 and have it zoom out around it's center and be able to set the scale to 1 again to reset it. </p>