Revert "Working commit"

This reverts commit 0c5fdbdf04c8fa48e6805b5b8eb3cfd0b98c554e.
Add findModelWhere

add findModelWhere (only for postgres adapter!)
add test
revert some changes causing errors (on this, further research will be done)