Improving test pool (around 100 new tests) + @StaticBindings collection big fix

Test pool:
- Defined a new test FunctionalOptimizationsTest class to run a slightly adapted version of functional tests (functional-optimizations) to apply optimizations on (earlier OptimizationsTest class was working on "optimizations" folder only)

@StaticBindings fix:
- Support was only partly implemented and did not handle the delegation membrane methods of composites, both on server and client sides
- Full implementation is now here, with additional protections to avoid possible redundant prototypes declaration in .inc files (could happen with identical bindings destination from different interfaces, especially with collections)