Update NodeJS to the last version

Update NodeJS and NPM to the last stable version.

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

Bulk queries with promises

Implementing a Promise function we can recurvise execute a list of queries to a data base. This function wait for the response of each query for execute the next of the list. [ read ]