added missing header file
fix memory crash for big diffs (from http://code.google.com/p/google-diff-match-patch/issues/detail?id=81)
merging theirs