[WIP] Macro "extends" auto mode: removed dependency on the presenter

What do you think?

- [ ] Fix coding style, add copyright etc.
- [ ] Fix failing tests
- [ ] Create ILayoutFileFinder implementation in nette/application