fix FIT parser bugs
ignore *~ files correctly
sort fields into canonical order when creating activities
log format tweaks