use entityManger.remove instead of jpa query to enable cascade delete.

I was talking to Gunnar on this (lack of cascade on the query), and due to perf he suggested a different model (InstallationCategory as its own class). But I think this is good enough