allow uninterestingTags and polygonFeatures to be callbacks
add flattened properties option

gives flattened properties instead of nested objects (tags, meta,
relations) for easier handling. Doesn't return relation membership
information, returns a concise id (<osm_type>/<osm_id>) instead
of type and id separately.

this mode is the default for the cli tool.

closes #4