Allow wildcards in Gendarme ignore file

- Add wildcards to ignore files for anonymous methods
- Remove commented method names from ignore files

(cherry picked from commit 6e99f08b6015c6f81be148b7c6966d613e94fb89 on
develop)

Change-Id: Ifb4d57daa8a3afeb4a1b0f7fc78d34bf5d83137a