updating browser samples to 3.10

updated browser samples to use version 3.10 of the JS API and made a few fixes to AMDify and get convex hulls working

i noticed that the links to these samples in @aaronpk 's blog are 404ing now.
http://blogs.esri.com/esri/arcgis/2013/07/31/new-esri-open-source-javascript-projects-leaflet-geoservices-js-terraformer-pushlet/

if they aren't running live anywhere, would it be okay for me to add them to gh-pages?