Add handler for URL request /resource/associations

When we add a resource into multiple groups at once, there is a unhandled url request: /app/resource/associations. This will cause client javascript to report error. Here we added a new handler to return a valid json object to client.