Reverse before_filter logics to simplify it
Fix tests and add test for issue model
Fix Issue model
Fixes for Issues and tests