Fixed  jsonp support for metrics view

Jsnop support existed for index_json but as far as I could tell it didn't work.
This request fixes a string formatting issue in json_response_for and ads jsonp support to other views.

I also cleaned up import and fixed urlopen call since it wasn't imported at all.