(PDB-708) More changes to make new fact schema work

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) various testing fixes

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) more test fixes

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) fix constraint for facts table

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) more tests

Signed-off-by: Ken Barber <ken@bob.sh>
got some of the json "restructuring" stuff done, need to connect it with
data coming from the DB
Rename factset app from copy/paste problem
added v4 api endpoint for factsets