Add ability to filter by species model, with tests
Use separate SELECT statements for querying plots versus trees

The LEFT JOINs prevent using species.id in the WHERE clause, so a normal
JOIN needs to be used instead.
Fix filterStringToWhere tests
Merge pull request #7 from maurizi/topic/filterSpecies

Add ability to filter by species model, with tests