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
just standardize it with some other fixer tests class