Enhancements for virtual library support

- unregisterLibrary() - let's you remove a library
- rebuild() - re-build an existing library without running a full scan
- priority param allows developers to define the order in which
libraries should be built