Update bug model and API URL
Login token
Bug and comment AJAX
Get attachments working with native REST API
Get comments working with native REST API