appview: rework compare page
trigger comparison on button click, this simplifes a variety of things:
- we can load a diff on page visit without javascript
- we can avoid modifying url using javascript and breaking back buttons
- we can avoid a lot of javascript code
Signed-off-by: oppiliappan <me@oppi.li>