[WIP] snippets refactoring

Snippets are now completely independent on the nette/application. I will send related PR to the nette/application in few minutes/hours.

What do you think?