* wesnoth-mode.el (wesnoth-find-next): New function.
(wesnoth-next-element): Return element details and preserve the match-data.
(wesnoth-element-type): Updated preprocessor and comment regexps. Modify
match-data as needed.
(wesnoth-parent-tag): Return t if tag is immediately within a macro.
(wesnoth-complete-tag): Bug reoccurred. Hopefully now fixed.
(wesnoth-find-macro-definitions): Updated regexp.
(wesnoth-check-wml): Now checks every element. Fixed a bug where
preprocessor statements unmatched would be reported as closing tags.