Use protocol agnostic reverse geocode url

The request was failing when pages are accessed over SSL
Merge pull request #1311 from jwalgran/fix/reverse-geocode-protocol

Use protocol agnostic reverse geocode url
Fix intermittent hang in UI test tearDown

The super.tearDown sometimes hangs when truncating tables because of lingering pending transactions with locks on those tables. Kill them to avoid deadlock!
Once again wait for elements to appear rather than sleeping
Tweak timing to fix intermittently-failing tests

* `_click_add_tree_next_step` must wait for animation to show the next step
* In `add_tree_done` "edit" option, use a longer timeout because the plot detail page takes a long time to load
* In `test_can_retrieve_username`, sleep after hitting the "submit" button
Merge pull request #1312 from RickMohr/ui-test-improvements

Ui test improvements
Fix creating SQL for ecoservice when searching stewardship

Hstore parameters are converted by Psycopg2, which wasn't being used
by the ecobenefits view.  Now instead of just quoting strings, we let
Psycopg2 handle all of the sql parameter conversion through the
non-standard mogrify method
Merge branch 'release'
Merge pull request #1314 from maurizi/fix-stewardship-search-backend

Fix creating SQL for ecoservice when searching stewardship
Factor out datepicker init
Fix lint
Invert conditional order to make fn more readable
Don't keep a copy of elems, always recalculate

Elems is a pairing of dom elements to search clauses. For (upcoming) stewardship searches, the key and predicate change dynamically to contain model information based on the model the user selects in the dropdown. It will be required to recalculate this on every search.
Add support for udf collection searches

Make applySearchToDom called through searchBar so that it can in turn call the downstream method on a udfcSearch instance. This is required so that search.js doesn't have to init() udfcSearch, or import it at all.

Make a helper template tag.