OF-594: Extend plugin servlet management

Allow plugins to register/unregister servlets programmatically. Applies
patch contributed by Andrea Ratto.