Fix trailing whitespace
Provide a generated id for every search field

Needed to use the "for" attribute of the <label> tag
Integrate prototype advanced search styling
Fix overlap issues with typeahead, advanced search, and map controls
Use the same template for missing searches and normal searches

Note: This requires that the field's data_type be overriden to 'bool'
Fix input width in advanced search
Add ISNULL predicate.

Replaces the MISSING search_type used in advanced search
Added JS test for search.buildElems
Stop trying to capitalize lowercase model names for safe_get_model

It's crazy to capitalize "mapfeature" and try to load the "MapFeature"
Python class.

Instead, require every use of the "create" and "search" templatetags
to use a case-sensitive model name.

The model names are still lowercased before being added to the DOM
though :(
Specify default advanced search in code instead of the DB

We intend to eventually put this back into the instance config,
but for now it's annoying to have it be there.
Merge pull request #1183 from maurizi/new-advanced-search-ui

New advanced search UI
Fix ecobenefit styling
Break benefit_value_row out into template
Add UI for separate tree/resource ecobenefits
Add template variable for hiding summary info

Certain parts of ecobenefit calculations are not relevent to single-mapfeature ecobenefit calculations, like separate section headers for tree/resource (because it's obviously either one or the other) and calculation basis (since it's always equal to 1). Add option to hide these so that single-mapfeature calculations can be rendered easily.