refactors some code in reviews and queue_items controller with macros and shared examples