Finalize and generalize Pica register definition method.

This adds the header register_set.h to common.