Bugfix: Ids in starred page url do not affect view

Other fixes:
+ Hide "close" button when ids are set from the URL
+ Use favorites.js API for all reads from the cookie
+ Properly set number of starred items in share modal