Added learn API

`fromArray` is too generic. We're always being specific on the parameters. 

I would go with `learnTransactionCategoriesForLoginSecret:transactions:success:failure`