Added clear error message when both name and slug are missing. Same for singular_name and singular_slug. Fixes #998.