Added 'is_starred' property to the query
Added some tests and handled permissions for #star and #unstar methods
Quick & dirty fix for queries starring and unstarring permissions
Refactor API authorize method
Extract authenticate method from API authorize method
Refactoring of API authorize method
Refactored exception handling
Allowed for admin to star / unstar any query
Simplified #star endpoint
Wired up the share modal to the API V3 star/unstar endpoint.