Fix issue #245
Stay on the same line even if empty when `$`
Fixed typo and added tests for `$` movement in empty lines.
:recycle: Some clean up
Merge pull request #249 from abijr/fix-endofline

Fix "end of line movement" not on last character