Removed redandant length parameter of method rejectLog in model.
Simplified ContextualCommand to hold a set of locations of reference and
performed corresponding modifications in connection.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>