Keep trait codes

Fixes #167 and then some

All four search controllers now keep the full search objects (trait codes, geo regions, environmental values, and language classifications). The api_views and test cases have been updated to address this.

This should make things like legends (referenced in #179) easier to implement