Resolved compatibility with Nette 2.1
Fixed compatibility with setRequired() [closes #16]