modified to parse content inside an anonymous sub
created new classes to simulate usage of FSA::Rules
created new class Test::ComplexInstance to keep test file small
created new class Test::Gladiator to workaround data produced by
Devel::Gladiator and provide some way to test references count
included producing of a text file containing all reference counts per
parse loop iteration
new classes for tests