added postgresql features to reset seq/check integrity

Added some new features for postgresql. I also raised visibility of extremely useful method ```findTablesNames```. Since it is different per database and user can not have one sql this method is very useful. I also enabled emulating prepare as i've described in comment.
@qiangxue please review when you will have time