Implementation of /similarity REST endpoint

Tiny: "atleast". You can also check !isEmpty() but I'm not particular about that.