updated version of the libraryh3lp code.

I've tested the block on my local, but we need to test in the library
moodle block.
Merge pull request #3 from dmoses/master

updated version of the libraryh3lp code.