Some minor cleanup of TrackGroup.sortByAttributes
Set messages to not be editable

Minor typo fixes of ResourceLocator
Change BAMFileReader.hasIndex to use reader.hasIndex
URLEncode query parameters when making web request
Remove double URL decoding of remote URLs in CommandExecutor

Still double decoding URLs when loaded through batch command
Add CommandListenerTest, for testing port commands
Add additional test to CommandListenerTest