fixes for DB

- while doing update, WHERE field should be removed from SET
- PDO: exec instead of query for insert/replace/update/delete
- PDO attr for faster work
Merge remote-tracking branch 'origin/master'