Merge pull request #4 from pmienk/version2

Add 'examples' to automake.
re-enable history_database in fullnode example.