Added json2 dependency.  Added metric api proxy javascript file and test html page.  Removed metrics module.