add settings and statistics page
format code in template.html
fix minor stuff on cart.html, checkout2.html, checkout4.html

replace pastorders.html with purchases.html
replace receipt.html with order.html

move some css script from pages to app.css
add comments to app.css
Merge remote-tracking branch 'origin/master'