Fix inheritance bugs

Add inherited method to class before injecting to it.
Use per class selectors for pre/postprocesses.
Restore original methods on item manager clear and
remove any implementation blocks.
Update inheritance test.