Add AggregateFactory to the example code

PR #42 changes were not applied to the examples directory, causing breakage of unit tests in /examples
User full namespace inline
Merge pull request #64 from mbadolato/add_aggregate_root_factory_to_example_code

Add AggregateFactory to the example code