Insert tasks correctly when current task ends in a colon.

This change fixes a bug that would cause tasks added above or below the current
task to be inserted in the wrong location and at the wrong depth if the current
task ended in a colon.
Merge branch 'master' of github.com:aaronbieber/quicktask