Lots of changes to support localization

cc @eickenberg. API needs a close look - if the internals need cleaning I am going to do a second PR for cleaning up examples, and probably adding a wordnet hierarchy matcher (matching dog and cat is tricky). 
wouldn't you want the multilabel softmax here?