change 'pos' property of MatchFailed to 'offset'
include line and column in MatchFailed error
fix calculating MatchFailed position