debug&profiling cleanup
moved json parsing outside of db transaction
fixed filter cleanup implementation
added shortcut to test page when in DEV mode