nitg: Detection of double local redefinitions

Now produces an clear error when redefining the same method twice locally instead of breaking later with a strange error.

Complementary to pull request : https://github.com/privat/nit/pull/265

Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>