Adds ability to pass in new-style masks without mask[...] or begins with 'mask.'
Cleans up implementation a bit. Adds a bit more coverage.
Merge pull request #20 from sudorandom/easy_mask

Makes providing new-style masks easier