Enhances comments, coding standards and readability

why the preference for the instanceof comparator instead of elgg_instanceof?