Fix issues with recursive resolve introducing recursion_guard decorator
Combine recursion_guard and memoized decorators together
Clean up and add several small changes

* Add modules count to text report
* Add more precision to time measured format
* Do not skip parameters without attributes during inference
to be fair (as before)
* Fix typo in comment