Apidb reformatting

Various formatting improvements to the apidb files and SQL.

[Add ?w=1 to the URL](https://github.com/zerebubuth/openstreetmap-cgimap/pull/59?w=1) to hide whitespace changes.