Fixed some bugs.
- OrderForm, ProductOrder, and ProductBrowsing now supports the new
carts schema.
- State filter info is correctly passed in SalesAnalytics.jsp.
- Query is verified and should run correctly.
Also did some refractoring.