Enhanced support for creating envelopes on the top of Database

This pull enables anyone to create custom envelopes like fabik database or ndab on the top of Nette Database but with larger capabilities of what one can achieve.

The pull passed all included tests and therefore should be safe. I think.

Opinions?