Merge pull request #4 from jwalgran/master

Use JPEG compression for tree photos
Update fabfile to include entitlements when signing
Add appid_suffix param to resign fabric task

Having trouble uploading .ipa resigned using
the fabric task. I suspect it has to do with the
app identifier in the entitlements file not
exactly matching the app ID in the provisioning
profile.
Fix token name in entitlements file

Updated to match the name expected in fabfile.py
Update entitlements to match Apple example

I am still running into error messages when
attempting to upload the distribution ipa with
Application Loader so I am matching the
entitlements file to this example:

http://developer.apple.com/library/ios/#technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933-CH1-TNTAG33
Add version to the info.plist template

Uploading new distribution files fails unless the
version number is increased from the previous
upload.
Add in new filter type for choices-based lists

Previously we just had generic "Boolean" and "Range" filters.
This commit adds a new filter type:
  OTMChoiceFilter

If the filter type is selected the dictionary should also
provide a "OTMChoiceFilterChoice" key with the name of the
choice field that they wish to filter filter on.

A complete filter definition looks something like this:
<key>OTMFilterKeyKey</key>
<string>filter_pests</string>
<key>OTMFilterKeyName</key>
<string>Pests</string>
<key>OTMFilterKeyType</key>
<string>OTMChoiceFilter</string>
<key>OTMChoiceFilterChoice</key>
<string>pests</string>
Merge pull request #5 from azavea/topic/pest-filter

Add in new filter type for choices-based lists
Allow unit in detail window to be specified in plist
Merge pull request #6 from azavea/topic/localize-more

Allow unit in detail window to be specified in plist
Allow for Impl defined currency unit
Merge pull request #7 from ahinz/topic/currency-unit

Allow for Impl defined currency unit
Don't allow users to edit readonly trees

OTM supports a 'readonly' flag which is exposed by the api as
"perm.plot.can_edit", however OTM-iOS was ignoring this flag.

Now we disable the edit button if the flag is set. We also force a
tree/plot update when the user logs in (since the default is that they
can't really edit anything).
Merge pull request #8 from ahinz/bug/dont-allow-readonly-tree-editing

Don't allow users to edit readonly trees
Allow date format to be localized
Merge remote-tracking branch 'upstream/master'

Conflicts:
	OpenTreeMap/src/OTM/OTMEnvironment.h
	OpenTreeMap/src/OTM/OTMEnvironment.m
Copy-Paste error, use correct boolean op
Merge pull request #10 from ahinz/bug/dont-allow-readonly-tree-editing

Copy-Paste error, use correct boolean op
Allow users to make new trees (fixes 056bc12e4cd8)

Commit 056bc12e4cd8 added support for readonly trees by looking at the
"can_edit" property. When a new tree is added it doesn't have a set of
permissions from the API so "can_edit" was essentially returning nil.

Now we only prevent editing if the API explicitly returns a permission
set.
Merge pull request #12 from ahinz/bug/dont-overapply-readonly

Allow users to make new trees (fixes 056bc12e4cd8)