Rename tree_carousel to photo_carousel
Reorg arguments for option-processing readability
Rename dom id to generalize to all photo types
Cleanup modal to support easier arg organization
All UI tests wait for any transaction-causing requests to complete

Improve `wait_until` functions
* add new functions
* several take either an element or a css selector, and return the element
* use `lambda`
* add doc strings

Also:
* remove call to kill pending transactions, because there should no longer be any (and it sometimes hung anyway)
* remove all `sleep` calls -- use `wait_until` calls instead
* DRY out tests in `plot_detail.py`
* simplify tests in `registyration_views.py`

Note that tests still exit with pending requests for map tiles. But because those requests don't change the database there should be no transactions created and so no problem with deadlock.
Add support for Resource photo uploads
Merge pull request #1382 from steventlamb/topic/resource_detail_photo_upload

Topic/resource detail photo upload
Merge pull request #1383 from RickMohr/robustify-ui-tests

All UI tests wait for any transaction-causing requests to complete
Add missing import
Correct progress calculation

fixes #1385 on github
Merge pull request #1388 from steventlamb/bug/1385_map_feature_photo_progress

Correct progress calculation
Inline helper method
Group translations

A good first step toward using a higher level feature for translating javascript strings. This object groups together strings that are passed through the python app for the sole purpose of supporting translation.
Add resource information to quickedit sidebar