Check quantity before checkout 

Rebased from current master.
Check product stock status before starting checkout process. Fixes #138
Last commit contains workaround for url scheme. We need to add product slug to session cart data dict.