Implemented upsert query for postgres.
Table#set accepts Array if attributes (just like before).