Fix the category importer.

When parent category cannot be created, throw an error message.
Merge pull request #292 from volkanunsal/patch-2

A bang, not a whimper