Added recommendations API (bug 1063795)

yeah. Open to suggestions. I got confused a time or two myself. I could reverse the logic and call it `RECOMMENDATIONS_ENABLED`.