add specs and fixes for label management.

WIP - the FIXME and TODO comments point out the stuff that isn't addressed/fixed in this commit
Requires
Merge pull request #2 from webcracy/label_mgt

Add specs and fixes for label management