Revert "matcher: Introduce adadee_match_type"

This reverts commit d06b3f2a8da93e1962065c5c6bdeb865d1fab1c1.
Revert "matcher: Start introducing adadee_match_list"

This reverts commit 715dc7e3d80e59f1326ccdeeb18769229010c99e.
matcher: Simplify the matcher function

Instead of returning magic numbers from the function, and the matched
length in an output parameter, return all of that from the function
itself: a negative number for errors, zero for no match, a positive
number for the length of the match.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
matcher: New matcher that matches the end of input

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>