Format sources for better readability and editing.

Changed cdb.[ch] to format it for easy reading and editing. Also
replaced function 'cdb_findstart' with a namesake macro, for it's
better suited to be macro than a routine.