Learning lookup support

Fixes #3. 
Initially planned to add support for both the learning part of lessons and looking up items outside review/lessons. But the lessons work was a much bigger effort than I initially thought. So this is only lessons support.