IDE-1243

1.Add codes to handle String index out of range exception when user add
new class without package name in new liferay hook configuration.