Visibility fixer

Entirely rewrite fixer to use tokens instead of regexp, what fixes several problems in generated fixed code, eg functions _after_ class definition (mentioned in #332). Extends utests as well.