SQL Query cleaning in pintools
New function deletePin in pintools: inmediatly erase a pin from the db
New function purgePin in pintools. Purge every record associated with a pin.