(PDB-718) Fact path endpoint

This implements a "fact-paths" endpoint that returns list of fact paths/types
according to the specification here:
https://docs.google.com/a/puppetlabs.com/document/d/1vWE6tBmsPmMIYKQWV8Pwes_NIR9lEMTYjUH8zJ_AlMI/edit?pli=1
You can probably remove the extra query->sql function. All the functionality and validation that the query->sql function provides is mirrored in qe/compile-user-query->sql so it seems superfluous.