Refactor mock server to allow instantiating it from outside libopflex.
Add mock-server binary that can resolve a fixed policy from a JSON
file for the agent.

Change-Id: I53414c28e460a746f4474a601d1359b6841e37c5
Signed-off-by: Rob Adams <readams@readams.net>