Add proper NM and MD tags to STAR alignments.

Thanks to @mjafin for the suggestion.