breedline: started working on backwards search.
resource-c: can be called from C++ code.
common: ecore-glue.h can now be called from C++.
resource-c: removed forgotten debug print.
common/glib-glue: include common/mainloop.h.
common: make mrp_mm_realloc[z] more C++-kosher.
Merge branch 'master' of github.com:otcshare/policy-internal
murphy-db: maintain stamp across transactions without changes.

Transaction track the state of tables by storing as a fingerprint
the number of inserts, deletes and updates in a transaction start
log entry. If at the end of the transaction the fingerprint is
identical the table stamp is restored.

Additionally, row and column update has been modified to omit the
creation of log entries for updates that would produce an identical
row. Since the insert/delete/update fingerprint is updated when
a log entry is created (and replayed during a rollback), this will
keep the stamp intact if a transaction contains only identical
updates.

Change-Id: I95986f34e9c97088077b01f8b3705f8fce4a8e1a
resolver: added console dump command.

Change-Id: Ib06f4642da20d575ae617c20d892e5e2deaa7285
resolver: update targets based on direct dependencies.

Don't run unconditionally the actions of a target if any
of the facts in the transitive closure of the dependencies
have changed. Instead always check the immediate dependencies
and run the actions only if some of those have changed.

Change-Id: Ib9f432e851d22bc1c0729736b7eb0364615623d7
lua-decision: throw Lua exception for fatal ruleset errors.

Throw Lua exception to bail out for ruleset generation errors.
Also use mrp_log_error to log errors instead of printf.

Change-Id: I4a760ac6c76df357099207cbe15fa17040034049
lua-decision: use direct dependency on the table for select.

Instead of generating an intermediate target that depends
on the table and have the select rule depend on this one,
omit the intermediate target altogether and let the select
depend on the table itself.

Change-Id: I4b46e9d518843e160a23ae2314c8f28f34e9cb9b