testing and cleanup around permit provider. Nits and tweaks to hwal. Refactoring around marshalling jive-utils-id