added FileTemplate with optional translator
fixed coding style
updated to Nette 2.1
updated to new Doctrine version