Extract common base controller for API

* Add access control to issues controller
Adjust layout and components to match stock redmine HTML
Further adjustments and update specs