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.