Feature/memory connector comparator

/to @bajtos 
/cc @HolaMan

This PR should supersede https://github.com/strongloop/loopback-datasource-juggler/pull/131 which has the wrong implementation. I have incorporated the tests from it.
Is the case when `val2` is falsy covered by unit-tests?