libpatcher: import all submodules into __init__

This allows easier access from outside
Added basic version of newpatcher (untested)
.gitignore: ignore vim's swap files
mask: fixed Mask.apply()
mask: improved __repr__
block: fixed exception msg
mask: fixed bug mask.match()
removed codebase remaints from Block.getPosition
block: fixed getCode()
mask: fixed match() to return real value