Refactored page json handlers to restrictedpage handlers
Added json page handlers
Finally implemented main site page editing
Implementet create clan
Fixed error handling in tickets. We no longer brutally crash when someone fails a payment.

Or something i dunno really what the bug was but this fixes it
Merge remote-tracking branch 'origin/master' into experimental