add tests for osm objects and osmfile header
correct errors to let tests pass
improve test runner, add Makefile
Merge pull request #75 from jokoala/contribution

Add more unit tests, coverage reports and fix some errors