FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.
bug #510 FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code. (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #510).

Discussion
----------

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

Commits
-------

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