add support for authorized foursquare users
refactor response object, servlet code, and test js
js/servlet cleanup