Frontend updates

Fixed transactions and cart. Everything is fully functional.

Also fixed a couple of bugs in db.class.php.

If stock is 0, no longer displays add to cart button on single item
display.