platform: add libexperiments

New and improved, now building on *all* platforms:

This provides a library for C/C++ programs that enables them to easily
register experiments and check if they are enabled.

In order to accommodate programs like Sagesrv which may be checking
experiment states at higher frequencies, a caching logic is used that
stores the current state of registered experiments and updates them in
(configurable) intervals (e.g., Sagesrv defaults to 60 secs).

Please see experiments.h for details on usage.

Change-Id: I17dbd1079a2f724fe645b427b606a94a5219bbae
10 files changed