Fix minor autocomplete issues

Insert matching bracket instead of moving cursor if no auto-completed pair present. Remove space after dash if another is pressed (for horizontal rule). Remove matching brace after completing Math calculation.

Just a few things I found annoying - otherwise, a great extension!