Add support for loading bams (and other file types) via URLs with parameters.  The URL "path" is now used to determine file type, rather than the entire url string.  Also moved file type determination code to ResourceLocator class.
Merge remote-tracking branch 'origin/master'