Use better exceptions in AttributesManager Entry

- instead of InternalErrorException use in getAttributes and fillAttributes methods (where attributes come from core)  ConsistencyErrorException
- instead of InternalErrorException user in setAttributes and removeAttributes methods (where attributes comes from GUI) WrongAttributeAssignmentException