improved osc_csrf_check, added redirects if can be redirected and if ajax return json with error msg
Merge branch 'csrf-redirection' into develop

Conflicts:
	oc-includes/osclass/helpers/hSecurity.php