doxygen: unify use of \file across the board

Considering the various styles and implications found in the sources, edit
scores of files to follow the same API doc guidelines around the doxygen
grouping and the \file tag.

Many files now show a short description in the generated API doc that was so
far only available as C comment.

The guidelines and reasoning behind it is documented at
https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation

In some instances, remove file comments and add to the corresponding group
instead, to be shared among several files (e.g. bitvec).

Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
diff --git a/src/fsm.c b/src/fsm.c
index 27389a7..d62fd79 100644
--- a/src/fsm.c
+++ b/src/fsm.c
@@ -1,5 +1,6 @@
-/* Osmocom generic Finite State Machine implementation
- *
+/*! \file fsm.c
+ * Osmocom generic Finite State Machine implementation. */
+/*
  * (C) 2016 by Harald Welte <laforge@gnumonks.org>
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -82,9 +83,8 @@
  *
  *  In order to attach private state to the \ref osmo_fsm_inst, it
  *  offers an opaque priv pointer.
- */
-
-/*! \file fsm.c */
+ *
+ * \file fsm.c */
 
 LLIST_HEAD(osmo_g_fsms);
 static bool fsm_log_addr = true;