fix two category issues
fixed database scheme: don't delete category if questionnaire exist
fixed controller if questionnaire exist in category, redirect to /category (was removed in a previous commit)