template for addNote test
fill templates for addNote test

also change parameter order for checkNotesToBeRemoved
addNote test for staff and voice options
prepare functions for refactoring on tests
make the refactor
add tests for errors on voice and staff idx
add test for not enough space error
fix test
fix test
fix test
fix test
make test pass
call new implementation of addNote
make test pass
change tests for calcAvailableSpaceFromEnd

change method signature (add a limit idx for space checking).
This is due to the fact that we must not take into accound spaces bellow
the insertion position.
Merge branch 'myTmp' into support-refactor-move-addNote
update method call due to signature change
fix tests (now insert mode is the default)
build pass
Merge branch 'support-refactor-move-addNote' of /home/git/repositories/flat/fermata