change resource browser code

using requirejs (not working yet)
support pagination (not working yet)
change resource module API call to support pagination
Merge remote-tracking branch 'origin/develop' into epedev-3.3-ay
Merge remote-tracking branch 'origin/3.2-update-error-fix-ay' into epedev-3.3-ay
commit OOI epe 3.3 tasks

This commit includes the following:
epedev-390: add js to LLB detail view to pause video when user click
away from a currently playing video dataset
epedev-406: add resource file type field, resource file note field to
LLB's edit view and instructor view
epedev-293: instead of just images, change LLB introductory slideshow
add button from image to resource and allow video to be play within the
slideshow
epedev-354: implement resource browser pagination, that works with
different resource tab, filter and search, also fix resource browser
checkbox bug when used in LLB & CM, checked resource is now saved into
browser session and won't be lost when navigate to other tab or page
remove unused library reference from resource browser configuration
Merge pull request #9 from ooiepe/epedev-3.3-ay

Merging 3.3 updates from Allan