Switch learn controller to use an object with properties for context data in place of a string array.
Fix routing to detail pages and fix data loading bug when navigating directly to a detail page.