add option to clip to document bounds and turn it on by default
Merge pull request #315 from adobe-photoshop/clip_to_document

Clip images to document bounds