Allow all logged-in users to use labbooks
Fix checking for enabled labbook before embedding labbook items
Move labbook helper methods into a library