o5c files shoud be parsed by o5mparser, not xmlparser.
Don't require lua for builds

As the lua interpreter for tag transform is currently optional, don't require this dependecy to build osm2pgsql

Hide all lua code behind pre-processor directive HAVE_LUA
Merge pull request #25 from molind/master

o5c files used wrong parser
Fix memory leak.

Dense block cache was never freed. As it is a single static allocation
that is needed nearly throughout the program, it isn't a major issue.

Found thanks to valgrind.
Fix --help to give the correct --cache-strategy for chunk

also error out if an unknown --cache-strategy is given
Add a .gitignore file including all the autogenerated files
Make what goes into planet_osm_roads configurable with lua

Moved the processing of z_order and what goes into planet_osm_roads
into the tag processing and allow to make it configurable via lua.

The ways function and relation tag transform functions now return an additional
flag to specifiy if a feature should be added to the roads table
always keep type tag for relations
Merge pull request #31 from lonvia/missing-relation-type

always keep type tag for relations
Fix C based tagtransform for non-hstore mode

Reported in github issue #35

The previous fix b80cb3ebd5cdee1384f48b8f571704bf82187d16 did not fully fix everything.
(hopefully this time it will)

There are still some differences (with respect to tag copying from member ways of
multipolygon relations) to the original code, but they should all be either improvements,
or the correct behaviour is ambivalent.