Added mask filter.

The mask filter currently assumes that the input and mask images are of
the same dimensions. I am planning on adding support for tiling and
offset, and thought I would use the background-repeat and
background-position properties from CSS. Any thoughts on this?

You can see a demo here:

http://resources.aleph-1.com/mask/