Added masks to pin edge detector.
Unit test passes.

git-svn-id: svn://graphite/telegraph/trunk@81 28fd7c2b-1a77-0410-894e-e36ff7e1493b