Sign out and signed in header control

Checks whether the user is signed in, if so updates the 'Sign in' label with the username and introduces a profile popup menu in it's place, initially only with a sign out link - in time presumably a profile link, account details etc.

Also removes the old signed in/out 'top bar' fragments - not needed since this is all JS-based, comes with tests.