Sales attributes

This PR completes the sales by addind the per-attribute value sale management feature.
I did the modification on my local installation.

The caching parameter is always off so changing the cache life time has no effect.