New compiled DB handling and validation

The read database can now be either textual or compiled.
The compiled version is written on explicit call.
Algorithm is optimized for reading compiled DB.

A new function for validation substitutions pair is added.

Change-Id: I1cdb455c6d0933ac79ecbb09da41c5f704db538a
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
New compiled DB handling

The read database can now be either textual or compiled.
The compiled version is written on explicit call.
Algorithm is optimized for reading compiled DB.

Change-Id: I172afcdfc927a96a3b36bc9d932034d99bdbc664
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Smack aware mounting

Mounting filesystems when Smack is active requieres to have the
write permission on _ (floor). To achieve it, the Smack label
is modified temporarily what requieres to have the cap_mac_admin.

Also, some temporary tricks to handle and test new DB scheme.

Change-Id: I9baac300f023542f1b6deae20080782fc8dd3ced
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>