this is first implementation that works properly

* index.js: implement more variants of the method executeSql(); properly
  roll back failed transactions