Fixed at phonegap-version 2.5.0
Added depth limit to categories import

Stops the potential for an high depth recursion but also provides us a
better UX