Added exception handler to queries

Added exception handler to queries.
Added access rules checking for deleting reviews.
Fixed layout in reviews list.
Bootstrap tabs replaced on jQueryUI in settings page.