Update OnDemand_promises.html to test dstore and dojo/store adapters

Also reformatted code for 0.4 since git already sees it as a rewrite

h/t @edhager and @msssk for initial work on these changes.