dataservice changes

made some tweaks, but the major was the order in which script references
appeared in the layout file.  Had to move data service.  Now it seems to
working.  Deleting items is still not reliable, but we need to add more
logic around when people are allowed to delete clients/categories.  ie,
check if used in related entities, or just alter the values to all read
"-1" so we can later show those as unassigned