fix missing <p> in view
add API for jenkins to consume

In order to be able for jenkins to know if there are security alerts
pending, I have:

add the result action to the ruby application controller
add session-less calls by using an "api_access_token"
refactor: move filtering security alerts from view to model