Fix issue where rendering a PDF that ends with a song breaks. Cause: The RtSong environment in Latex wasn't being closed properly.
Updated regexp that post processes gap_marks in latex. We had to add the closing brace to the regex since in some cases, during processing, the TMP_GAP_MARK ended up just in front of a closing brace of an \emph range in latex. So I added both opening and closing braces, however I only needed the closing one. This commit removes the opening brace from the regex.
Added require for a new validation.
Run check that current branch is up-to-date with git origin:master only on import and export commands. 

Those are the only ones where it matters. We should be able to run the other commands while off-line. the up-to-date check requires the computer to be on-line for the check to run (it tries to connect to the remote named 'origin').
Added hyphen as special character that may appear after a gap_mark
Sorted report methods alphabetically, added comments
added gap_mark_count report