Added shopping calculator example from modern-cljs

Also cleaned up some code and added a dump-state function