Factorized enum search-by-name routine, so it can be done on method parsing too.

Original location in field parsing.
More aggressive use of _type_search_enum_by_name now that we have it.

Also, get argname from getter methods additionally to setter methods.
27 consts left!
This patch call for a getter whose valid values were wrongly put in the Returns section is no longer needed.