use json.dumps instead of manually constructing json
in template (closes #677, closes #626)

Conflicts:
	allauth/socialaccount/providers/facebook/templates/facebook/fbconnect.html