A non local approach for the exchange energy. Selfconsistent implementation in metal clusters