FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.

FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.

Changes in Tokens class borrowed from PR #472
why using a private method instead of putting it direclty in ``testFix`` ?