add joinPhase rest endpoint
Merge pull request #4 from girder/joinphase_api_3

add joinPhase rest endpoint