[api] start to move maintenance logic into API models
[webui] remove the issues from the incident table

They need to be revived - I put them in the project/_incident_issues
partial, but it's not yet used