Refactor pgr_types to have abstract reusable types.
Cleaning up commented out code.
Merge branch 'refactor-types' into sew-devel-2_0