Folders

This PR brings in further integration for OAE in the following aspects:
 - Activities
 - Search
 - Previews
 - REST Docs
 - Extra functionality such as updating, deleting, ..
Most modules register the search endpoint from `library.js`. It looks like discussions is the odd one out. I've moved that its `library.js` file