Clean up collapsed note styling and display the jsonmodel type of the note if there is no type or label set
Update selenium tests to play nice with collapsing notes