Add examples (issue #5)

This version introduces multiple enhancements:

added required libraries to example

Details of additions/deletions below:
--------------------------------------------------------------

Modified:   examples/base_object.php
            -- Added --
                loading Register and Xml libraries