(maint) maint/master/fix facts environment ordering

this fixes an issue with ordering by environment on the facts endpoint and
patches the corresponding blind spot in our tests.
Merge pull request #1035 from wkalt/maint/master/facts-environment-paging

(maint) fix order on environments for facts
(PDB-797) Add "name" field to fact-nodes response.

This adds a "name" field to the fact-nodes response.  The field "name"
represents the name of the parent fact of the fact node and is drawn from a
new column in the fact_paths table.