Merge pull request #16 from hAdamm/master

Bug fix, optimize repository query, remove dependency of nette object
Fix bad condition and error message
Remove mapping column names to properties names
Fix bad construct query
Merge branch 'as-bugFix'