Added test to expand lower-joints

Created lower-joint namespace.  Added functions to expand lower-joints
into primitive-joints.