Added method for easy extension.

Added a virgilio.extend, which allows module writers to easily
extend virgilio with new methods, or by overwriting existing ones.