Sales attributes

This PR completes the sales by addind the per-attribute value sale management feature.
Turning off template cache and forcing compilation is useless, even in dev mode, as smarty always checks template changes, and recompile them as required.

This change causes a very comfortable performance improvement in dev mode (at least on windows).