error handling pages and editor improvements [STRATOS-952]

1. Proper server level error handling pages to app
2. Disable editor toggle button on JSON parse errors