Saving track configs in stateful URL.

Tracks in JBrowse view are saved/loaded in/from URL.

Behavior is enabled by default in JBrowse app. However, in order to turn it on in other apps (GenCover), JBrowse directive needs **keepState: true flag**. 

 
Nope, I only moved the code around for the sake of convenience.