More fixes of warnings, removing ill-conceived manual gunzipping

* fixed JSONKit warnings
* fixed potential leaks reported by clang
* removed unused photo location detection code
* reformatted some files
* removed manual gunzipping and replaced with standard gunzipping built into NSURLConnection
* fixed nib warnings
* updated .gitignore to ignore project files