Orphan labels

This PR closes #151. The labels were being saved to the db before the issues they are children of were. Hence orphan labels. We now save each issue first, then save the labels. Tests included.

I'm going to run this for a while on staging to test it out, before merging.