Started working on simplifying interface of connection, to decouple how
logs are registered on models; some logs should affect the local history
while other logs should simply affect the inherited history of models.

Removed redundant parameter length of method commitLog in model.

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