IDE-919

Remove useless code.
IDE-961

Fix the ResourceException caused by entry category
and the spelling mistake of category.
IDE-931

fix the ResourceException when create a liferay project and click on next
to create a portlet class,then to look for the display categories.